Hi,
This patch series fixes read-only issue when non-empty workdir occurred in overlayfs, the non-empty workdir could be easily reproduced in power-failure test during write operations.
These patches have passed basic test in unionmount-testsuite.
Antonio Murdaca (1): ovl: override creds with the ones from the superblock mounter
Miklos Szeredi (2): ovl: rename is_merge to is_lowest ovl: proper cleanup of workdir
fs/overlayfs/copy_up.c | 26 +---------- fs/overlayfs/dir.c | 67 +++-------------------------- fs/overlayfs/overlayfs.h | 3 ++ fs/overlayfs/readdir.c | 93 +++++++++++++++++++++++++++++++--------- fs/overlayfs/super.c | 20 ++++++++- 5 files changed, 100 insertions(+), 109 deletions(-)