aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/exec/recursion-depth.c
diff options
context:
space:
mode:
authorHou Tao <[email protected]>2019-05-14 22:44:32 +0000
committerLinus Torvalds <[email protected]>2019-05-15 02:52:50 +0000
commitbd8309de0d60838eef6fb575b0c4c7e95841cf73 (patch)
treec086d652c070b17f5dadd47fc209648fd9a834d1 /tools/testing/selftests/exec/recursion-depth.c
parentreiserfs: add comment to explain endianness issue in xattr_hash (diff)
downloadkernel-bd8309de0d60838eef6fb575b0c4c7e95841cf73.tar.gz
kernel-bd8309de0d60838eef6fb575b0c4c7e95841cf73.zip
fs/fat/file.c: issue flush after the writeback of FAT
fsync() needs to make sure the data & meta-data of file are persistent after the return of fsync(), even when a power-failure occurs later. In the case of fat-fs, the FAT belongs to the meta-data of file, so we need to issue a flush after the writeback of FAT instead before. Also bail out early when any stage of fsync fails. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Hou Tao <[email protected]> Acked-by: OGAWA Hirofumi <[email protected]> Cc: Al Viro <[email protected]> Cc: Jan Kara <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/selftests/exec/recursion-depth.c')
0 files changed, 0 insertions, 0 deletions