]> git.baikalelectronics.ru Git - kernel.git/commit
fs/direct-io: Reduce the size of struct dio
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:07:14 +0000 (11:07 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:32 +0000 (12:14 -0600)
commitf74dfbce6f039828c1d43f27cefb02adbaaaa176
tree028140767e5daa775857ec60a72858537bd1457b
parent05014528d7665043fbe5d02c45b723561687f2c2
fs/direct-io: Reduce the size of struct dio

Reduce the size of struct dio by combining the 'op' and 'op_flags' into
the new 'opf' member. Use the new blk_opf_t type to improve static type
checking. This patch does not change any functionality.

Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-49-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/direct-io.c