diff options
author | Christoph Hellwig <hch@lst.de> | 2021-08-24 17:18:23 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-24 10:10:33 -0600 |
commit | 158ee7b65653d9f841823c249014c2d0dfdeeb8f (patch) | |
tree | 6196f08a7cd09a0ca781b18c5e597818f109f67b /fs/block_dev.c | |
parent | 9f2869921f2a102e209297d4f742f34b46ed3d36 (diff) | |
download | lwn-158ee7b65653d9f841823c249014c2d0dfdeeb8f.tar.gz lwn-158ee7b65653d9f841823c249014c2d0dfdeeb8f.zip |
block: mark blkdev_fsync static
blkdev_fsync is only used inside of block_dev.c since the
removal of the raw drіver.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210824151823.1575100-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/block_dev.c')
-rw-r--r-- | fs/block_dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c index d3a8062302a0..1f21ac984253 100644 --- a/fs/block_dev.c +++ b/fs/block_dev.c @@ -687,7 +687,8 @@ static loff_t block_llseek(struct file *file, loff_t offset, int whence) return retval; } -int blkdev_fsync(struct file *filp, loff_t start, loff_t end, int datasync) +static int blkdev_fsync(struct file *filp, loff_t start, loff_t end, + int datasync) { struct inode *bd_inode = bdev_file_inode(filp); struct block_device *bdev = I_BDEV(bd_inode); @@ -708,7 +709,6 @@ int blkdev_fsync(struct file *filp, loff_t start, loff_t end, int datasync) return error; } -EXPORT_SYMBOL(blkdev_fsync); /** * bdev_read_page() - Start reading a page from a block device |