summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/inode.c
diff options
context:
space:
mode:
authorAmir Goldstein2018-01-17 21:32:44 +0100
committerMiklos Szeredi2018-01-24 11:26:04 +0100
commit988925164f659bf74061d3036e14873753c937d2 (patch)
tree11df4a932966fa87834ad7f859f9aaffcdf509b0 /fs/overlayfs/inode.c
parentovl: decode indexed dir file handles (diff)
downloadkernel-qcow2-linux-988925164f659bf74061d3036e14873753c937d2.tar.gz
kernel-qcow2-linux-988925164f659bf74061d3036e14873753c937d2.tar.xz
kernel-qcow2-linux-988925164f659bf74061d3036e14873753c937d2.zip
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/inode.c')
0 files changed, 0 insertions, 0 deletions