diff options
author | Bart Van Assche <bvanassche@acm.org> | 2022-07-14 21:06:57 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-14 21:14:31 +0300 |
commit | 4ce4c73f662bdb0ae5bfb058bc7ec6f6829ca078 (patch) | |
tree | 66ad2f1b6cddbe3b3badc063aac3edafc5fa8c2d /drivers/md/md-bitmap.c | |
parent | 13a1f650b6ec935834977461b87585f6387257b4 (diff) | |
download | linux-4ce4c73f662bdb0ae5bfb058bc7ec6f6829ca078.tar.xz |
md/core: Combine two sync_page_io() arguments
Improve uniformity in the kernel of handling of request operation and
flags by passing these as a single argument.
Cc: Song Liu <song@kernel.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-32-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/md-bitmap.c')
-rw-r--r-- | drivers/md/md-bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md-bitmap.c b/drivers/md/md-bitmap.c index d87f674ab762..0a21b8317103 100644 --- a/drivers/md/md-bitmap.c +++ b/drivers/md/md-bitmap.c @@ -165,7 +165,7 @@ static int read_sb_page(struct mddev *mddev, loff_t offset, if (sync_page_io(rdev, target, roundup(size, bdev_logical_block_size(rdev->bdev)), - page, REQ_OP_READ, 0, true)) { + page, REQ_OP_READ, true)) { page->index = index; return 0; } |