diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-01-11 11:03:13 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-01-24 11:25:53 +0100 |
commit | 7db25d36d9253c58afd3db837dd53e66ae3b1ac9 (patch) | |
tree | 185fe698004d3c34b16dcbc27ef457f615b50cbc /fs/ubifs/log.c | |
parent | ad1d615cec1c973aa222c065997a77e7cd5a0d17 (diff) | |
download | linux-7db25d36d9253c58afd3db837dd53e66ae3b1ac9.tar.bz2 |
ovl: verify whiteout index entries on mount
Whiteout index entries are used as an indication that an exported
overlay file handle should be treated as stale (i.e. after unlink
of the overlay inode).
Check on mount that whiteout index entries have a name that looks like
a valid file handle and cleanup invalid index entries.
For whiteout index entries, do not check that they also have valid
origin fh and nlink xattr, because those xattr do not exist for a
whiteout index entry.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/ubifs/log.c')
0 files changed, 0 insertions, 0 deletions