summaryrefslogtreecommitdiff
path: root/include/linux/bvec.h
diff options
context:
space:
mode:
authorJonathan Lemon <jonathan.lemon@gmail.com>2019-07-30 17:40:34 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-31 00:21:32 +0300
commit65c84f148e359ed398dcc9ed736131103f40896b (patch)
tree3c25ea02d713d9c12166140be09b5908c3471170 /include/linux/bvec.h
parentb54c9d5bd6e38edac9ce3a3f95f14a1292b5268d (diff)
downloadlinux-65c84f148e359ed398dcc9ed736131103f40896b.tar.xz
linux: Remove bvec page_offset, use bv_offset
Now that page_offset is referenced through accessors, remove the union, and use bv_offset. Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/bvec.h')
-rw-r--r--include/linux/bvec.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/bvec.h b/include/linux/bvec.h
index 7f2b2ea9399c..a032f01e928c 100644
--- a/include/linux/bvec.h
+++ b/include/linux/bvec.h
@@ -18,10 +18,7 @@
struct bio_vec {
struct page *bv_page;
unsigned int bv_len;
- union {
- __u32 page_offset;
- unsigned int bv_offset;
- };
+ unsigned int bv_offset;
};
struct bvec_iter {