Whamcloud - gitweb
LU-506 kernel: some other minor cleanup of BKL
authorLiu Xuezhao <xuezhao.liu@emc.com>
Wed, 30 May 2012 12:44:05 +0000 (20:44 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 12 Jun 2012 15:46:51 +0000 (11:46 -0400)
commitcdaeb287ec52b54aab62ff465518c9d98ee3736b
tree435b7434e24d3f77cb0ed8c9dc6908fb95d8ea01
parentd10c9e05ab593f361fdfd27842766a1924e63e58
LU-506 kernel: some other minor cleanup of BKL

Remove lock_kernel/unlock_kernel from cfs_daemonize.
Remove HAVE_UNLOCKED_IOCTL check as it is defined after 2.6.12.

Signed-off-by: Liu Xuezhao <xuezhao.liu@emc.com>
Change-Id: I6e41c0c3fa76c33dae4f820a63bd3ba62ff704ec
Reviewed-on: http://review.whamcloud.com/2950
Tested-by: Hudson
Reviewed-by: Lai Siyao <laisiyao@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/libcfs/linux/linux-debug.c
libcfs/libcfs/linux/linux-module.c
libcfs/libcfs/linux/linux-prim.c
libcfs/libcfs/linux/linux-tcpip.c
lustre/obdclass/linux/linux-module.c