mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
This commit is contained in:
parent
7db25d36d9
commit
e8f9e5b780
2 changed files with 94 additions and 32 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue