Whamcloud - gitweb
LU-823 compat: Don't use cfs_ functions on kernel structures
authorChristopher J. Morrone <morrone2@llnl.gov>
Fri, 4 Nov 2011 22:59:11 +0000 (15:59 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 12 Oct 2012 22:47:16 +0000 (18:47 -0400)
commitb1dd3e496d54e0e246c27d2ddc504beaf8fddc54
tree9fcb06e3bca29aa1bb496744b1df6dfbaa238051
parent773c6672533f680f51c2632cefb4249a6190d269
LU-823 compat: Don't use cfs_ functions on kernel structures

It is not really correct to use the generic "cfs_" prefixed
locking functions on the Linux kernel's data structures.  Revert
back to using the Linux locking function.

Change-Id: I64619c4b4f4963634b3d1e43c1b1519598e65e8d
Signed-off-by: Christopher J. Morrone <morrone2@llnl.gov>
Reviewed-on: http://review.whamcloud.com/4176
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Reviewed-by: Peng Tao <bergwolf@gmail.com>
lustre/include/linux/lustre_patchless_compat.h