diff options
author | Amir Goldstein <amir73il@gmail.com> | 2017-07-10 15:55:55 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-01-24 11:26:04 +0100 |
commit | 7a9dadef9684aaf738e7ce7e2a9284cc5e165ebc (patch) | |
tree | f1f6f0c2c1e3fade5181bc246ac10e91b7e4ba1c /fs/overlayfs/readdir.c | |
parent | 988925164f659bf74061d3036e14873753c937d2 (diff) |
ovl: hash non-indexed dir by upper inode for NFS export
Non-indexed upper dirs are encoded as upper file handles. When NFS export
is enabled, hash non-indexed directory inodes by upper inode, so we can
find them in inode cache using the decoded upper inode.
When NFS export is disabled, directories are not indexed on copy up, so
hash non-indexed directory inodes by origin inode, the same hash key
that is used before copy up.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/readdir.c')
0 files changed, 0 insertions, 0 deletions