linux/fs/overlayfs
Miklos Szeredi dff2cd539e ovl: fsync after copy-up
[ Upstream commit 641089c154 ]

Make sure the copied up file hits the disk before renaming to the final
destination.  If this is not done then the copy-up may corrupt the data in
the file in case of a crash.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
History 2016-11-23 23:09:18 -05:00
..
copy_up.c ovl: fsync after copy-up 2016-11-23 23:09:18 -05:00
dir.c ovl: verify upper dentry in ovl_remove_and_whiteout() 2016-08-07 21:59:02 -04:00
inode.c ovl: listxattr: use strnlen() 2016-09-15 18:54:06 -04:00
Kconfig ovl: rename filesystem type to "overlay" 2014-11-20 16:39:59 +01:00
Makefile ovl: rename filesystem type to "overlay" 2014-11-20 16:39:59 +01:00
overlayfs.h ovl: don't copy up opaqueness 2016-09-12 14:53:02 -04:00
readdir.c ovl: check dentry positiveness in ovl_cleanup_whiteouts() 2016-02-02 13:56:03 -05:00
super.c ovl: fix workdir creation 2016-09-22 13:25:10 -04:00