]> git.itanic.dy.fi Git - linux-stable/commit
f2fs: fix potential corruption when moving a directory
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 6 Apr 2023 18:18:48 +0000 (11:18 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 13 Apr 2023 03:00:37 +0000 (20:00 -0700)
commitd94772154e524b329a168678836745d2773a6e02
treebbfe7bddb06dc039aafd3b0b877a238205af9167
parentd09bd853005c720d5578f80b34e144ff3bc3eae8
f2fs: fix potential corruption when moving a directory

F2FS has the same issue in ext4_rename causing crash revealed by
xfstests/generic/707.

See also commit 0813299c586b ("ext4: Fix possible corruption when moving a directory")

CC: stable@vger.kernel.org
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/namei.c