Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ext4: remove tl argument from ext4_fc_replay_{add,del}_range

Since commit a7ba36bc94f2 ("ext4: fix fast commit alignment issues"),
both ext4_fc_replay_add_range and ext4_fc_replay_del_range get
ex based on 'val' instead of 'tl'.

Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20260121063805.19863-1-guoqing.jiang@linux.dev
Signed-off-by: Theodore Ts'o <tytso@mit.edu>

authored by

Guoqing Jiang and committed by
Theodore Ts'o
2f17d199 eb106076

+4 -6
+4 -6
fs/ext4/fast_commit.c
··· 1759 1759 } 1760 1760 1761 1761 /* Replay add range tag */ 1762 - static int ext4_fc_replay_add_range(struct super_block *sb, 1763 - struct ext4_fc_tl_mem *tl, u8 *val) 1762 + static int ext4_fc_replay_add_range(struct super_block *sb, u8 *val) 1764 1763 { 1765 1764 struct ext4_fc_add_range fc_add_ex; 1766 1765 struct ext4_extent newex, *ex; ··· 1879 1880 1880 1881 /* Replay DEL_RANGE tag */ 1881 1882 static int 1882 - ext4_fc_replay_del_range(struct super_block *sb, 1883 - struct ext4_fc_tl_mem *tl, u8 *val) 1883 + ext4_fc_replay_del_range(struct super_block *sb, u8 *val) 1884 1884 { 1885 1885 struct inode *inode; 1886 1886 struct ext4_fc_del_range lrange; ··· 2249 2251 ret = ext4_fc_replay_unlink(sb, &tl, val); 2250 2252 break; 2251 2253 case EXT4_FC_TAG_ADD_RANGE: 2252 - ret = ext4_fc_replay_add_range(sb, &tl, val); 2254 + ret = ext4_fc_replay_add_range(sb, val); 2253 2255 break; 2254 2256 case EXT4_FC_TAG_CREAT: 2255 2257 ret = ext4_fc_replay_create(sb, &tl, val); 2256 2258 break; 2257 2259 case EXT4_FC_TAG_DEL_RANGE: 2258 - ret = ext4_fc_replay_del_range(sb, &tl, val); 2260 + ret = ext4_fc_replay_del_range(sb, val); 2259 2261 break; 2260 2262 case EXT4_FC_TAG_INODE: 2261 2263 ret = ext4_fc_replay_inode(sb, &tl, val);