]> git.baikalelectronics.ru Git - kernel.git/commit
dm/core: Rename kcopyd_job.rw into kcopyd.op
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:06:48 +0000 (11:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:31 +0000 (12:14 -0600)
commite710786adb8c2b5aa2feaf26e0e0ca537083cfc5
treeea6314fc77cfb2338e91d34a9f9cc345d0f43128
parent7e991f1a5c8006adf8a72920d666de76a6f5118c
dm/core: Rename kcopyd_job.rw into kcopyd.op

The member name 'rw' suggests that this member either has the value 'READ'
or 'WRITE' and no other values. Since that member also can have the value
REQ_OP_WRITE_ZEROES, rename 'rw' into 'op'. 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: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-23-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm-kcopyd.c