diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-01-17 22:32:44 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-01-24 11:26:04 +0100 |
commit | 988925164f659bf74061d3036e14873753c937d2 (patch) | |
tree | 11df4a932966fa87834ad7f859f9aaffcdf509b0 /fs/overlayfs/overlayfs.h | |
parent | 3b0bfc6ed3c434800e5eacfb6cdbe45c07c270e1 (diff) |
ovl: decode pure lower dir file handles
Similar to decoding a pure upper dir file handle, decoding a pure lower
dir file handle is implemented by looking an overlay dentry of the same
path as the pure lower path and verifying that the overlay dentry's
real lower matches the decoded real lower file handle.
Unlike the case of upper dir file handle, the lookup of overlay path by
lower real path can fail or find a mismatched overlay dentry if any of
the lower parents have been copied up and renamed. To address this case
we will need to check if any of the lower parents are indexed.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/overlayfs.h')
0 files changed, 0 insertions, 0 deletions