]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre/llite: ll_revalidate_dentry update
authorOleg Drokin <oleg.drokin@intel.com>
Mon, 20 Jun 2016 20:55:46 +0000 (16:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Jun 2016 21:28:39 +0000 (14:28 -0700)
commitfaf88c6f56a3eecc3e27b340009e077ae8d7ddff
tree5933f782a31a1ff08df7d614ec8adf4db5e3b111
parentbe8307536f933ec14952ac83e511aacb4f5016aa
staging/lustre/llite: ll_revalidate_dentry update

There are a couple of cases in ll_revalidate_dentry() where
we are pretty sure the dentry is valid, so check for them early
and save more expensive checks for later.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/dcache.c