]> git.baikalelectronics.ru Git - kernel.git/commit
treewide: Rename enum req_opf into enum req_op
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:06:27 +0000 (11:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:30 +0000 (12:14 -0600)
commit48fd9be3c32ff723b9a7b4be0cfd24da0c7f78e2
tree465f2787df356621953a36576da75c69ccafc7ac
parentca54c33981e8b4f08b37f6e62027f9430316c126
treewide: Rename enum req_opf into enum req_op

The type name enum req_opf is misleading since it suggests that values of
this type include both an operation type and flags. Since values of this
type represent an operation only, change the type name into enum req_op.

Convert the enum req_op documentation into kernel-doc format. Move a few
definitions such that the enum req_op documentation occurs just above
the enum req_op definition.

The name "req_opf" was introduced by commit 86207eb9fda1 ("block: better op
and flags encoding").

Cc: Christoph Hellwig <hch@lst.de>
Cc: Ming Lei <ming.lei@redhat.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Damien Le Moal <damien.lemoal@wdc.com>
Cc: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-2-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
13 files changed:
block/blk-zoned.c
drivers/block/null_blk/main.c
drivers/block/null_blk/null_blk.h
drivers/block/null_blk/trace.h
drivers/block/null_blk/zoned.c
drivers/md/dm-integrity.c
drivers/nvme/target/zns.c
drivers/scsi/sd_zbc.c
drivers/ufs/core/ufshpb.c
fs/zonefs/super.c
fs/zonefs/trace.h
include/linux/blk_types.h
include/linux/blkdev.h