diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-01-11 11:33:24 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-01-24 11:25:53 +0100 |
commit | e8f9e5b780b0406ab81add72f1a05583ae5d40ac (patch) | |
tree | 51a706509d92558937ff8056321079c34053ec89 /fs/dcache.c | |
parent | 7db25d36d9253c58afd3db837dd53e66ae3b1ac9 (diff) | |
download | op-kernel-dev-e8f9e5b780b0406ab81add72f1a05583ae5d40ac.zip op-kernel-dev-e8f9e5b780b0406ab81add72f1a05583ae5d40ac.tar.gz |
ovl: verify directory index entries on mount
Directory index entries should have 'upper' xattr pointing to the real
upper dir. Verifying that the upper dir file handle is not stale is
expensive, so only verify stale directory index entries on mount if
NFS export feature is enabled.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/dcache.c')
-rw-r--r-- | fs/dcache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dcache.c b/fs/dcache.c index 5c7df1d..b5d5ea9 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -3527,6 +3527,7 @@ bool is_subdir(struct dentry *new_dentry, struct dentry *old_dentry) return result; } +EXPORT_SYMBOL(is_subdir); static enum d_walk_ret d_genocide_kill(void *data, struct dentry *dentry) { |