commit | a9d019573e881472aa62f093fa599ad68cd0fc1e | [log] [tgz] |
---|---|---|
author | Amir Goldstein <amir73il@gmail.com> | Sun Apr 30 14:46:31 2017 +0300 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Fri May 05 11:38:58 2017 +0200 |
tree | 8778da1cdb000fe74a5c8f03584ff5f2d40008e3 | |
parent | c22205d0584bc65cfc9a65db0e15a9b69f5cdf64 [diff] |
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>