Home
last modified time | relevance | path

Searched hist:"641089 c1" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/overlayfs/
H A Dcopy_up.c641089c1 Mon Oct 31 08:42:14 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> ovl: fsync after copy-up

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>
641089c1 Mon Oct 31 08:42:14 CDT 2016 Miklos Szeredi <mszeredi@redhat.com> ovl: fsync after copy-up

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>