linux/fs/overlayfs
Chengguang Xu e8d4bfe3a7 ovl: Sync upper dirty data when syncing overlayfs
When executing filesystem sync or umount on overlayfs,
dirty data does not get synced as expected on upper filesystem.
This patch fixes sync filesystem method to keep data consistency
for overlayfs.

Signed-off-by: Chengguang Xu <cgxu@mykernel.net>
Fixes: e593b2bf51 ("ovl: properly implement sync_filesystem()")
Cc: <stable@vger.kernel.org> #4.11
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2017-12-11 11:28:11 +01:00
..
Kconfig ovl: don't follow redirects if redirect_dir=off 2017-12-11 11:28:10 +01:00
Makefile ovl: split super.c 2016-12-16 11:02:56 +01:00
copy_up.c ovl: move include of ovl_entry.h into overlayfs.h 2017-11-09 10:23:27 +01:00
dir.c ovl: update cache version of impure parent on rename 2017-11-09 10:23:27 +01:00
inode.c ovl: relax same fs constraint for constant st_ino 2017-11-09 10:23:27 +01:00
namei.c ovl: Pass ovl_get_nlink() parameters in right order 2017-12-11 11:28:10 +01:00
overlayfs.h ovl: remove unneeded arg from ovl_verify_origin() 2017-11-10 09:39:16 +01:00
ovl_entry.h ovl: don't follow redirects if redirect_dir=off 2017-12-11 11:28:10 +01:00
readdir.c ovl: update ctx->pos on impure dir iteration 2017-12-11 11:28:11 +01:00
super.c ovl: Sync upper dirty data when syncing overlayfs 2017-12-11 11:28:11 +01:00
util.c ovl: re-structure overlay lower layers in-memory 2017-11-09 10:23:27 +01:00