aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/checkpoint.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/jbd2/checkpoint.c
parentblock: Remove unused flush_queue_delayed in struct blk_flush_queue (diff)
downloadlinux-dev-9398554fb3979852512ff4f1405e759889b45c16.tar.xz
linux-dev-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/jbd2/checkpoint.c')
-rw-r--r--fs/jbd2/checkpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jbd2/checkpoint.c b/fs/jbd2/checkpoint.c
index 96bf33986d03..263f02ad8ebf 100644
--- a/fs/jbd2/checkpoint.c
+++ b/fs/jbd2/checkpoint.c
@@ -414,7 +414,7 @@ int jbd2_cleanup_journal_tail(journal_t *journal)
* jbd2_cleanup_journal_tail() doesn't get called all that often.
*/
if (journal->j_flags & JBD2_BARRIER)
- blkdev_issue_flush(journal->j_fs_dev, GFP_NOFS, NULL);
+ blkdev_issue_flush(journal->j_fs_dev, GFP_NOFS);
return __jbd2_update_log_tail(journal, first_tid, blocknr);
}