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)
commitaae5d55a24f74d429f32895cf73b9839d0d5e6e1
tree5933f782a31a1ff08df7d614ec8adf4db5e3b111
parent6dad4d8903a43b0e34d9527e54a52737b0f69690
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