summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/dir.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2017-04-30 14:46:31 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2017-05-05 11:38:58 +0200
commita9d019573e881472aa62f093fa599ad68cd0fc1e (patch)
tree8778da1cdb000fe74a5c8f03584ff5f2d40008e3 /fs/overlayfs/dir.c
parentc22205d0584bc65cfc9a65db0e15a9b69f5cdf64 (diff)
downloadop-kernel-dev-a9d019573e881472aa62f093fa599ad68cd0fc1e.zip
op-kernel-dev-a9d019573e881472aa62f093fa599ad68cd0fc1e.tar.gz
ovl: lookup non-dir copy-up-origin by file handle
If overlay.origin xattr is found on a non-dir upper inode try to get lower dentry by calling exportfs_decode_fh(). On failure to lookup by file handle to lower layer, do not lookup the copy up origin by name, because the lower found by name could be another file in case the upper file was renamed. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/dir.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud