vfs: Document the effect of d_revalidate on d_find_alias
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 13 Feb 2014 00:08:06 +0000 (16:08 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:38:53 +0000 (02:38 -0400)
commit3ccb354d641d910309b916b9c856e2a82ced7237
tree7439690ff7654285fd1f50a0e6e44705ae8cabed
parent9ea459e110df32e60a762f311f7939eaa879601d
vfs: Document the effect of d_revalidate on d_find_alias

d_drop or check_submounts_and_drop called from d_revalidate can result
in renamed directories with child dentries being unhashed.  These
renamed and drop directory dentries can be rehashed after
d_materialise_unique uses d_find_alias to find them.

Reviewed-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c