commit | e8d4bfe3a71537284a90561f77c85dea6c154369 | [log] [tgz] |
---|---|---|
author | Chengguang Xu <cgxu@mykernel.net> | Wed Nov 29 10:01:32 2017 +0800 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Mon Dec 11 11:28:11 2017 +0100 |
tree | 24595228ee2b278fdffea719c43f692bf103e463 | |
parent | b02a16e6413a2f782e542ef60bad9ff6bf212f8a [diff] |
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: e593b2bf513d ("ovl: properly implement sync_filesystem()") Cc: <stable@vger.kernel.org> #4.11 Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>