diff options
author | Amir Goldstein <amir73il@gmail.com> | 2017-11-01 11:13:51 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-01-24 13:25:53 +0300 |
commit | 9ee60ce2491166c73a381e5f04dc4c3a147e169d (patch) | |
tree | 1a4d03cf001582847d7d53149fbe1d9978d00242 /fs/overlayfs/copy_up.c | |
parent | e8f9e5b780b0406ab81add72f1a05583ae5d40ac (diff) | |
download | linux-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