]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix incorrect type issue during replay_del_range
authorXin Yin <yinxin.x@bytedance.com>
Wed, 26 Jan 2022 06:31:46 +0000 (14:31 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 3 Feb 2022 15:57:53 +0000 (10:57 -0500)
commitdc1952a3d2b91b884c04d898cdfc7195e50461f3
tree41e378c252e411ebaf3d4eadd3aeeb906596a02b
parent3e555eccd33907aebb7e313b2d4f4c50837ffa4a
ext4: fix incorrect type issue during replay_del_range

should not use fast commit log data directly, add le32_to_cpu().

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 62f5f98daa8e ("ext4: use ext4_ext_remove_space() for fast commit replay delete range")
Cc: stable@kernel.org
Signed-off-by: Xin Yin <yinxin.x@bytedance.com>
Reviewed-by: Ritesh Harjani <riteshh@linux.ibm.com>
Link: https://lore.kernel.org/r/20220126063146.2302-1-yinxin.x@bytedance.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/fast_commit.c