staging: lustre: remove page_collection::pc_lock in libcfs
authorLiang Zhen <liang.zhen@intel.com>
Wed, 4 Nov 2015 18:40:05 +0000 (13:40 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit9d3e85326f4c3c65a7e97c5406611a17142bd70f
tree312ec516c3c9a4388b8b3c59cf05987add8e9b02
parent78368d578e9eab8dc9d42b9e9a2be78a98f4e9d9
staging: lustre: remove page_collection::pc_lock in libcfs

page_collection::pc_lock is supposed to protect race between
functions called by smp_call_function(), however we don't have
this use-case for ages and page_collection only lives in stack
of thread, so it is safe to remove it.

Signed-off-by: Liang Zhen <liang.zhen@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3055
Reviewed-on: http://review.whamcloud.com/7660
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Sebastien Buisson <sebastien.buisson@bull.net>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/tracefile.c
drivers/staging/lustre/lustre/libcfs/tracefile.h