diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-02-09 18:30:39 +0530 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-02-09 13:56:23 -0700 |
commit | c4540a7d8c1e595560e53acedf88901daf15a2b5 (patch) | |
tree | 2d64e9e146dddf1081d1df1ca2bc62d5cdb25666 /include/linux/bio.h | |
parent | 0b4ef8de090a60e04560ed69aa35f439b8d5145f (diff) | |
download | linux-stable-c4540a7d8c1e595560e53acedf88901daf15a2b5.tar.gz linux-stable-c4540a7d8c1e595560e53acedf88901daf15a2b5.tar.bz2 linux-stable-c4540a7d8c1e595560e53acedf88901daf15a2b5.zip |
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 *); 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) { |