Jaegeuk Kim 8f57f3e112 f2fs: fix potential corruption when moving a directory
commit d94772154e524b329a168678836745d2773a6e02 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-17 11:50:25 +02:00
..
2022-04-08 14:23:58 +02:00
2023-05-11 23:00:26 +09:00
2021-03-30 18:48:56 -07:00
2021-08-23 10:25:51 -07:00
2021-08-23 10:25:51 -07:00
2023-05-11 23:00:26 +09:00