summaryrefslogtreecommitdiff
path: root/fs/overlayfs/copy_up.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2017-11-01 11:13:51 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2018-01-24 13:25:53 +0300
commit9ee60ce2491166c73a381e5f04dc4c3a147e169d (patch)
tree1a4d03cf001582847d7d53149fbe1d9978d00242 /fs/overlayfs/copy_up.c
parente8f9e5b780b0406ab81add72f1a05583ae5d40ac (diff)
downloadlinux-9ee60ce2491166c73a381e5f04dc4c3a147e169d.tar.xz
ovl: cleanup temp index entries
A previous failed attempt to create or whiteout a directory index may leave index entries named '#%x' in the index dir. Cleanup those temp entries on mount instead of failing the mount. In the future, we may drop 'work' dir and use 'index' dir instead. This change is enough for cleaning up copy up leftovers 'from the future', but it is not enough for cleaning up rmdir leftovers 'from the future' (i.e. temp dir containing whiteouts). Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/copy_up.c')
0 files changed, 0 insertions, 0 deletions