From: Arnd Bergmann Date: Tue, 20 May 2008 17:16:13 +0000 (+0200) Subject: megaraid: BKL pushdown X-Git-Tag: v2.6.27-rc1~1103^2~49 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f18f81daba25d29541e46972a7ff4d65162ff167;p=linux-2.6-omap-h63xx.git megaraid: BKL pushdown Signed-off-by: Arnd Bergmann --- diff --git a/drivers/scsi/megaraid/megaraid_mm.c b/drivers/scsi/megaraid/megaraid_mm.c index 0ad215e27b8..ac3b280c2a7 100644 --- a/drivers/scsi/megaraid/megaraid_mm.c +++ b/drivers/scsi/megaraid/megaraid_mm.c @@ -15,6 +15,7 @@ * Common management module */ #include +#include #include "megaraid_mm.h" @@ -96,6 +97,7 @@ mraid_mm_open(struct inode *inode, struct file *filep) */ if (!capable(CAP_SYS_ADMIN)) return (-EACCES); + cycle_kernel_lock(); return 0; }