staging/lustre/llite: Get rid of ll_lock_dcache/ll_unlock_dcache
authorOleg Drokin <green@linuxhacker.ru>
Mon, 20 Jun 2016 20:55:26 +0000 (16:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Jun 2016 21:28:39 +0000 (14:28 -0700)
commit2bbec0ed2c957541f22ba99202827b004267ab58
treee16c65dae5c06cadc4c94b1bc6527ae9aa4053c9
parent411c9699dfe346fe7e70734c34291ea83d9b70b5
staging/lustre/llite: Get rid of ll_lock_dcache/ll_unlock_dcache

These are just doing spin_lock/unlock on inode's i_lock,
so just do the spinlock directly to make the code more clear

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