summaryrefslogtreecommitdiffstats
path: root/drivers/bcma
diff options
context:
space:
mode:
authorHou Tao2019-05-15 00:44:32 +0200
committerLinus Torvalds2019-05-15 04:52:50 +0200
commitbd8309de0d60838eef6fb575b0c4c7e95841cf73 (patch)
treec086d652c070b17f5dadd47fc209648fd9a834d1 /drivers/bcma
parentreiserfs: add comment to explain endianness issue in xattr_hash (diff)
downloadkernel-qcow2-linux-bd8309de0d60838eef6fb575b0c4c7e95841cf73.tar.gz
kernel-qcow2-linux-bd8309de0d60838eef6fb575b0c4c7e95841cf73.tar.xz
kernel-qcow2-linux-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/20190409030158.136316-1-houtao1@huawei.com Signed-off-by: Hou Tao <houtao1@huawei.com> Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions