diff options
author | Fengguang Wu <[email protected]> | 2012-09-26 09:57:55 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2012-09-26 09:57:55 +0200 |
commit | 3eab7315c8dd6685f58acba00319dd8b80a21d7a (patch) | |
tree | 524801ea453362c6254d019d4990a7e1f37a89da | |
parent | 62ac665ff9fc07497ca524bd20d6a96893d11071 (diff) |
fs/block_dev.c:1644:5: sparse: symbol 'blkdev_mmap' was not declared
blkdev_mmap() isn't used outside of fs/block_dev.c, mark it as
static.
Reported-by: Fengguang Wu <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
-rw-r--r-- | fs/block_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c index 7eeb0635338b..37967bcea05c 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -1648,7 +1648,7 @@ ssize_t blkdev_aio_write(struct kiocb *iocb, const struct iovec *iov, } EXPORT_SYMBOL_GPL(blkdev_aio_write); -int blkdev_mmap(struct file *file, struct vm_area_struct *vma) +static int blkdev_mmap(struct file *file, struct vm_area_struct *vma) { int ret; struct block_device *bdev = I_BDEV(file->f_mapping->host); |