linux-stable/fs/f2fs
Jaegeuk Kim db5fc12d8a f2fs: allow to read node block after shutdown
commit e6ecb14242 upstream.

If block address is still alive, we should give a valid node block even after
shutdown. Otherwise, we can see zero data when reading out a file.

Cc: stable@vger.kernel.org
Fixes: 83a3bfdb5a ("f2fs: indicate shutdown f2fs to allow unmount successfully")
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-04 11:26:31 +01:00
..
Kconfig f2fs: introduce F2FS_UNFAIR_RWSEM to support unfair rwsem 2022-03-04 09:15:53 -08:00
Makefile f2fs: separate out iostat feature 2021-08-23 10:25:51 -07:00
acl.c f2fs: support idmapped mounts 2022-02-12 06:20:46 -08:00
acl.h vfs: add rcu argument to ->get_acl() callback 2021-08-18 22:08:24 +02:00
checkpoint.c f2fs: fix to account FS_CP_DATA_IO correctly 2022-10-21 12:39:02 +02:00
compress.c f2fs: set zstd compress level correctly 2022-12-31 13:26:21 +01:00
data.c f2fs: fix to account FS_CP_DATA_IO correctly 2022-10-21 12:39:02 +02:00
debug.c f2fs: adjust zone capacity when considering valid block count 2022-07-30 20:16:20 -07:00
dir.c f2fs: don't use casefolded comparison for "." and ".." 2022-05-17 11:19:23 -07:00
extent_cache.c f2fs: fix race condition on setting FI_NO_EXTENT flag 2022-10-21 12:39:02 +02:00
f2fs.h f2fs: fix to enable compress for newly created file if extension matches 2022-12-31 13:26:21 +01:00
file.c f2fs: allow to set compression for inlined file 2022-12-31 13:26:17 +01:00
gc.c f2fs: should put a page when checking the summary info 2023-01-04 11:26:31 +01:00
gc.h f2fs: remove redundant code for gc condition 2022-07-30 20:16:20 -07:00
hash.c f2fs: don't use casefolded comparison for "." and ".." 2022-05-17 11:19:23 -07:00
inline.c f2fs: fix to do sanity check for inline inode 2022-05-18 15:36:11 -07:00
inode.c f2fs: clean up f2fs_abort_atomic_write() 2022-08-05 04:20:02 -07:00
iostat.c f2fs: fix iostat related lock protection 2022-06-19 15:16:12 -07:00
iostat.h f2fs: introduce periodic iostat io latency traces 2021-08-23 10:25:51 -07:00
namei.c f2fs: fix to enable compress for newly created file if extension matches 2022-12-31 13:26:21 +01:00
node.c f2fs: allow to read node block after shutdown 2023-01-04 11:26:31 +01:00
node.h f2fs: change the current atomic write way 2022-05-12 10:14:03 -07:00
recovery.c f2fs: fix to do sanity check on summary info 2022-10-21 12:37:48 +02:00
segment.c f2fs: fix iostat parameter for discard 2022-12-31 13:26:23 +01:00
segment.h f2fs: adjust zone capacity when considering valid block count 2022-07-30 20:16:20 -07:00
shrinker.c f2fs: avoid race condition for shrinker count 2020-12-03 00:59:26 -08:00
super.c f2fs: fix to destroy sbi->post_read_wq in error path of f2fs_fill_super() 2022-12-31 13:26:17 +01:00
sysfs.c f2fs: introduce sysfs atomic write statistics 2022-07-30 20:17:07 -07:00
verity.c ext4,f2fs: fix readahead of verity data 2022-11-10 18:17:39 +01:00
xattr.c f2fs: move f2fs to use reader-unfair rwsems 2022-01-24 17:40:04 -08:00
xattr.h