]> git.baikalelectronics.ru Git - kernel.git/commit
dcache: d_find_alias needn't recheck IS_ROOT && DCACHE_DISCONNECTED
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 16 Jan 2014 22:17:31 +0000 (17:17 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 7 Aug 2014 18:40:10 +0000 (14:40 -0400)
commit388e6b98012c161df5cfad68f23af74d819d58ab
tree198a37bc2a9a0b89639ed0107eb02853240f544c
parentd1125e38df8013bb648da9daa14da67da3edc1c9
dcache: d_find_alias needn't recheck IS_ROOT && DCACHE_DISCONNECTED

If we get to this point and discover the dentry is not a root dentry, or
not DCACHE_DISCONNECTED--great, we always prefer that anyway.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c