summaryrefslogtreecommitdiff
path: root/block/blk-lib.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-05-26 22:19:14 +0200
committerJens Axboe <axboe@fb.com>2014-05-26 17:39:09 -0600
commit35086784caec571be185f643eb1b045a275d60b3 (patch)
tree61b8d63e4c286e8dc86172ac010951e2a0b62645 /block/blk-lib.c
parent19c5d84f14d2b01fe4c24e1444142f69e6dc08f6 (diff)
downloadlwn-35086784caec571be185f643eb1b045a275d60b3.tar.gz
lwn-35086784caec571be185f643eb1b045a275d60b3.zip
block/blk-lib.c: make __blkdev_issue_zeroout static
__blkdev_issue_zeroout is only used in blk-lib.c Cc: Jens Axboe <axboe@kernel.dk> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-lib.c')
-rw-r--r--block/blk-lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-lib.c b/block/blk-lib.c
index 97a733cf3d5f..8411be3c19d3 100644
--- a/block/blk-lib.c
+++ b/block/blk-lib.c
@@ -226,8 +226,8 @@ EXPORT_SYMBOL(blkdev_issue_write_same);
* Generate and issue number of bios with zerofiled pages.
*/
-int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector,
- sector_t nr_sects, gfp_t gfp_mask)
+static int __blkdev_issue_zeroout(struct block_device *bdev, sector_t sector,
+ sector_t nr_sects, gfp_t gfp_mask)
{
int ret;
struct bio *bio;