aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2018-01-11 11:03:13 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2018-01-24 11:25:53 +0100
commit7db25d36d9253c58afd3db837dd53e66ae3b1ac9 (patch)
tree185fe698004d3c34b16dcbc27ef457f615b50cbc /fs/dcache.c
parentovl: use directory index entries for consistency verification (diff)
downloadlinux-dev-7db25d36d9253c58afd3db837dd53e66ae3b1ac9.tar.xz
linux-dev-7db25d36d9253c58afd3db837dd53e66ae3b1ac9.zip
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/dcache.c')
0 files changed, 0 insertions, 0 deletions