diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/bio.h | 2 | ||||
-rw-r--r-- | include/linux/blkdev.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index 0ad5a87d..1f8acca2 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -234,7 +234,7 @@ enum { }; struct bio *bio_alloc_bioset(struct block_device *, unsigned, - unsigned, gfp_t, struct bio_set *); + blk_opf_t, gfp_t, struct bio_set *); extern void bio_put(struct bio *); int bio_add_page(struct bio *, struct page *, unsigned, unsigned); diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index f78621d8..9e020775 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -9,6 +9,7 @@ #define BIO_MAX_VECS 256U typedef unsigned fmode_t; +typedef __u32 __bitwise blk_opf_t; struct bio; struct user_namespace; |