aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2014-02-09 07:52:53 -0500
committerJens Axboe <axboe@fb.com>2014-02-09 15:56:23 -0500
commit0b4ef8de090a60e04560ed69aa35f439b8d5145f (patch)
tree0c0d2217394b392079a79cd24abd8c12096700bf /fs
parentd7790b928d42597b7da21a4e43080774903e3b5c (diff)
fs: Mark function as static in fs/bio-integrity.c
Mark functions as static in bio-integrity.c because it is not used outside this file. This eliminates the following warnings in bio-integrity.c: fs/bio-integrity.c:224:5: warning: no previous prototype for ‘bio_integrity_tag’ [-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 'fs')
-rw-r--r--fs/bio-integrity.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bio-integrity.c b/fs/bio-integrity.c
index bcb4a4d533a2..0129b78a6908 100644
--- a/fs/bio-integrity.c
+++ b/fs/bio-integrity.c
@@ -234,7 +234,8 @@ unsigned int bio_integrity_tag_size(struct bio *bio)
234} 234}
235EXPORT_SYMBOL(bio_integrity_tag_size); 235EXPORT_SYMBOL(bio_integrity_tag_size);
236 236
237int bio_integrity_tag(struct bio *bio, void *tag_buf, unsigned int len, int set) 237static int bio_integrity_tag(struct bio *bio, void *tag_buf, unsigned int len,
238 int set)
238{ 239{
239 struct bio_integrity_payload *bip = bio->bi_integrity; 240 struct bio_integrity_payload *bip = bio->bi_integrity;
240 struct blk_integrity *bi = bdev_get_integrity(bio->bi_bdev); 241 struct blk_integrity *bi = bdev_get_integrity(bio->bi_bdev);