Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f18f81da authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Jonathan Corbet
Browse files

megaraid: BKL pushdown



Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent cad84238
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
 * Common management module
 */
#include <linux/sched.h>
#include <linux/smp_lock.h>
#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;
}