Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4540a7d authored by Rashika Kheria's avatar Rashika Kheria Committed by Jens Axboe
Browse files

fs: Add prototype declaration to appropriate header file include/linux/bio.h



Add prototype declaration to header file include/linux/bio.h because it
is used by more than one file.

This eliminates the following warning in bio-integrity.c:
fs/bio-integrity.c:214:14: warning: no previous prototype for ‘bio_integrity_tag_size’ [-Wmissing-prototypes]

Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 0b4ef8de
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -332,6 +332,7 @@ extern struct bio *bio_clone_fast(struct bio *, gfp_t, struct bio_set *);
extern struct bio *bio_clone_bioset(struct bio *, gfp_t, struct bio_set *bs);

extern struct bio_set *fs_bio_set;
unsigned int bio_integrity_tag_size(struct bio *bio);

static inline struct bio *bio_alloc(gfp_t gfp_mask, unsigned int nr_iovecs)
{