]> git.karo-electronics.de Git - linux-beck.git/commit
staging: lustre: libcfs: add lock-class for cfs_percpt_lock
authorLiang Zhen <liang.zhen@intel.com>
Mon, 28 Mar 2016 00:26:26 +0000 (20:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Mar 2016 19:10:20 +0000 (12:10 -0700)
commit2dc09ea8d91a97dd01c675f2903ce5b4d1fd48d3
tree318437d500bf134e3525c0233562b1250018b81e
parent762d266d7d27bc00f9249a21feadc03154ab07c7
staging: lustre: libcfs: add lock-class for cfs_percpt_lock

initialise lock-class for each sublock of cfs_percpt_lock
to eliminate false alarm ""possible recursive locking detected"

Signed-off-by: Liang Zhen <liang.zhen@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6432
Reviewed-on: http://review.whamcloud.com/14368
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/include/linux/libcfs/libcfs_cpu.h
drivers/staging/lustre/lnet/libcfs/libcfs_lock.c