Commit 3eab7315 authored by Fengguang Wu's avatar Fengguang Wu Committed by Jens Axboe

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 62ac665f
...@@ -1648,7 +1648,7 @@ ssize_t blkdev_aio_write(struct kiocb *iocb, const struct iovec *iov, ...@@ -1648,7 +1648,7 @@ ssize_t blkdev_aio_write(struct kiocb *iocb, const struct iovec *iov,
} }
EXPORT_SYMBOL_GPL(blkdev_aio_write); 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; int ret;
struct block_device *bdev = I_BDEV(file->f_mapping->host); struct block_device *bdev = I_BDEV(file->f_mapping->host);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment