]> git.baikalelectronics.ru Git - kernel.git/commit
fs/buffer: Combine two submit_bh() and ll_rw_block() arguments
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:07:13 +0000 (11:07 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:32 +0000 (12:14 -0600)
commit05014528d7665043fbe5d02c45b723561687f2c2
treeff6edde84622f984014bbf5f4f91b2ffa476b995
parent0315517465cf2589c436b3396bcb56c5004f02b0
fs/buffer: Combine two submit_bh() and ll_rw_block() arguments

Both submit_bh() and ll_rw_block() accept a request operation type and
request flags as their first two arguments. Micro-optimize these two
functions by combining these first two arguments into a single argument.
This patch does not change the behavior of any of the modified code.

Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Jan Kara <jack@suse.cz>
Acked-by: Song Liu <song@kernel.org> (for the md changes)
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-48-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
35 files changed:
drivers/md/md-bitmap.c
fs/buffer.c
fs/ext4/fast_commit.c
fs/ext4/mmp.c
fs/ext4/super.c
fs/gfs2/bmap.c
fs/gfs2/dir.c
fs/gfs2/meta_io.c
fs/gfs2/quota.c
fs/isofs/compress.c
fs/jbd2/commit.c
fs/jbd2/journal.c
fs/jbd2/recovery.c
fs/nilfs2/btnode.c
fs/nilfs2/gcinode.c
fs/nilfs2/mdt.c
fs/ntfs/aops.c
fs/ntfs/compress.c
fs/ntfs/file.c
fs/ntfs/logfile.c
fs/ntfs/mft.c
fs/ntfs3/file.c
fs/ntfs3/inode.c
fs/ocfs2/aops.c
fs/ocfs2/buffer_head_io.c
fs/ocfs2/super.c
fs/reiserfs/inode.c
fs/reiserfs/journal.c
fs/reiserfs/stree.c
fs/reiserfs/super.c
fs/udf/dir.c
fs/udf/directory.c
fs/udf/inode.c
fs/ufs/balloc.c
include/linux/buffer_head.h