diff options
author | 2022-07-14 11:06:50 -0700 | |
---|---|---|
committer | 2022-07-14 12:14:31 -0600 | |
commit | 67a7b9a5b54fa3a1b9e4ab5b9808198680cba082 (patch) | |
tree | 01fb7db4b9f0390476f431d6ceabe36c0abef69b /fs/jbd2/commit.c | |
parent | dm/core: Combine request operation type and flags (diff) | |
download | linux-dev-67a7b9a5b54fa3a1b9e4ab5b9808198680cba082.tar.xz linux-dev-67a7b9a5b54fa3a1b9e4ab5b9808198680cba082.zip |
dm/ebs: Change 'int rw' into 'enum req_op op'
Improve static type checking by using type 'enum req_op' instead of 'int'.
Make the role of the 'rw' arguments more clear by renaming these into
'op' (operation). This patch does not change any functionality since
REQ_OP_READ = READ = 0 and REQ_OP_WRITE = WRITE = 1.
Cc: Alasdair Kergon <agk@redhat.com>
Cc: Mike Snitzer <snitzer@kernel.org>
Cc: Heinz Mauelshagen <heinzm@redhat.com>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-25-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions