summaryrefslogtreecommitdiffstats
path: root/fs/fat/file.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-05-13 14:36:00 +0200
committerJens Axboe <axboe@kernel.dk>2020-05-22 08:45:46 -0600
commit9398554fb3979852512ff4f1405e759889b45c16 (patch)
treef168ab7545addcb917b1817d6400c98025055e22 /fs/fat/file.c
parent172ce41db4b2d6fa5956c4baa63475b15f5d4bd8 (diff)
downloadlinux-9398554fb3979852512ff4f1405e759889b45c16.tar.gz
linux-9398554fb3979852512ff4f1405e759889b45c16.tar.bz2
linux-9398554fb3979852512ff4f1405e759889b45c16.zip
block: remove the error_sector argument to blkdev_issue_flush
The argument isn't used by any caller, and drivers don't fill out bi_sector for flush requests either. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/fat/file.c')
-rw-r--r--fs/fat/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/file.c b/fs/fat/file.c
index bdc4503c00a3..42134c58c87e 100644
--- a/fs/fat/file.c
+++ b/fs/fat/file.c
@@ -195,7 +195,7 @@ int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync)
if (err)
return err;
- return blkdev_issue_flush(inode->i_sb->s_bdev, GFP_KERNEL, NULL);
+ return blkdev_issue_flush(inode->i_sb->s_bdev, GFP_KERNEL);
}