aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2022-07-14 18:07:17 +0000
committerJens Axboe <[email protected]>2022-07-14 18:14:32 +0000
commit67c0f556302cfcdb5b5fb7933afa08cb1de75b36 (patch)
tree5bac245c617a62aa9aa4b572f8adf02467303e7f /fs/ext4/fast_commit.c
parentfs/btrfs: Use the enum req_op and blk_opf_t types (diff)
downloadkernel-67c0f556302cfcdb5b5fb7933afa08cb1de75b36.tar.gz
kernel-67c0f556302cfcdb5b5fb7933afa08cb1de75b36.zip
fs/ext4: Use the new blk_opf_t type
Improve static type checking by using the new blk_opf_t type for variables that represent request flags. Cc: Theodore Ts'o <[email protected]> Cc: Baokun Li <[email protected]> Cc: Ye Bin <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
-rw-r--r--fs/ext4/fast_commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/fast_commit.c b/fs/ext4/fast_commit.c
index 0df5482c6c1c..eb4c8ad1bb61 100644
--- a/fs/ext4/fast_commit.c
+++ b/fs/ext4/fast_commit.c
@@ -658,7 +658,7 @@ void ext4_fc_track_range(handle_t *handle, struct inode *inode, ext4_lblk_t star
static void ext4_fc_submit_bh(struct super_block *sb, bool is_tail)
{
- int write_flags = REQ_SYNC;
+ blk_opf_t write_flags = REQ_SYNC;
struct buffer_head *bh = EXT4_SB(sb)->s_fc_bh;
/* Add REQ_FUA | REQ_PREFLUSH only its tail */