]> git.itanic.dy.fi Git - linux-stable/commit
Revert "f2fs: fix to do sanity check on direct node in truncate_dnode()"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Aug 2023 15:29:00 +0000 (17:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Aug 2023 19:01:31 +0000 (21:01 +0200)
commitdb05f8449bb3529aa65753d30ed2df7720d4f36a
tree0c22fa5d9d518a1bd524dc8648a7ee01d8754fa4
parentc5bd20577ff33c8ce2df9079df1c70e943652d56
Revert "f2fs: fix to do sanity check on direct node in truncate_dnode()"

This reverts commit a78a8bcdc26de5ef3a0ee27c9c6c512e54a6051c which is
commit a6ec83786ab9f13f25fb18166dee908845713a95 upstream.

Something is currently broken in the f2fs code, Guenter has reported
boot problems with it for a few releases now, so revert the most recent
f2fs changes in the hope to get this back to a working filesystem.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/b392e1a8-b987-4993-bd45-035db9415a6e@roeck-us.net
Cc: Chao Yu <chao@kernel.org>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/node.c
include/linux/f2fs_fs.h