diff options
| author | Christoph Hellwig <[email protected]> | 2020-05-13 12:36:00 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-05-22 14:45:46 +0000 |
| commit | 9398554fb3979852512ff4f1405e759889b45c16 (patch) | |
| tree | f168ab7545addcb917b1817d6400c98025055e22 /fs/jbd2/commit.c | |
| parent | block: Remove unused flush_queue_delayed in struct blk_flush_queue (diff) | |
| download | kernel-9398554fb3979852512ff4f1405e759889b45c16.tar.gz kernel-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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
| -rw-r--r-- | fs/jbd2/commit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jbd2/commit.c b/fs/jbd2/commit.c index e855d8260433..6d2da8ad0e6f 100644 --- a/fs/jbd2/commit.c +++ b/fs/jbd2/commit.c @@ -775,7 +775,7 @@ start_journal_io: if (commit_transaction->t_need_data_flush && (journal->j_fs_dev != journal->j_dev) && (journal->j_flags & JBD2_BARRIER)) - blkdev_issue_flush(journal->j_fs_dev, GFP_NOFS, NULL); + blkdev_issue_flush(journal->j_fs_dev, GFP_NOFS); /* Done it all: now write the commit record asynchronously. */ if (jbd2_has_feature_async_commit(journal)) { @@ -882,7 +882,7 @@ start_journal_io: stats.run.rs_blocks_logged++; if (jbd2_has_feature_async_commit(journal) && journal->j_flags & JBD2_BARRIER) { - blkdev_issue_flush(journal->j_dev, GFP_NOFS, NULL); + blkdev_issue_flush(journal->j_dev, GFP_NOFS); } if (err) |
