diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-02-09 08:00:39 -0500 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-02-09 15:56:23 -0500 |
commit | c4540a7d8c1e595560e53acedf88901daf15a2b5 (patch) | |
tree | 2d64e9e146dddf1081d1df1ca2bc62d5cdb25666 /include/linux/bio.h | |
parent | 0b4ef8de090a60e04560ed69aa35f439b8d5145f (diff) |
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: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r-- | include/linux/bio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index 70654521dab6..d6791bba8264 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h | |||
@@ -332,6 +332,7 @@ extern struct bio *bio_clone_fast(struct bio *, gfp_t, struct bio_set *); | |||
332 | extern struct bio *bio_clone_bioset(struct bio *, gfp_t, struct bio_set *bs); | 332 | extern struct bio *bio_clone_bioset(struct bio *, gfp_t, struct bio_set *bs); |
333 | 333 | ||
334 | extern struct bio_set *fs_bio_set; | 334 | extern struct bio_set *fs_bio_set; |
335 | unsigned int bio_integrity_tag_size(struct bio *bio); | ||
335 | 336 | ||
336 | static inline struct bio *bio_alloc(gfp_t gfp_mask, unsigned int nr_iovecs) | 337 | static inline struct bio *bio_alloc(gfp_t gfp_mask, unsigned int nr_iovecs) |
337 | { | 338 | { |