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

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
Reported-by: default avatarFengguang Wu <>
Signed-off-by: default avatarJens Axboe <>
parent 62ac665f
......@@ -1648,7 +1648,7 @@ ssize_t blkdev_aio_write(struct kiocb *iocb, const struct iovec *iov,
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);
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