param: fix module param locks when !CONFIG_SYSFS.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 25 Jun 2015 21:14:38 +0000 (06:44 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 28 Jun 2015 05:16:14 +0000 (14:46 +0930)
As Dan Streetman points out, the entire point of locking for is to
stop sysfs accesses, so they're elided entirely in the !SYSFS case.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/module.h
kernel/module.c
kernel/params.c

Simple merge
diff --cc kernel/module.c
Simple merge
diff --cc kernel/params.c
Simple merge