]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commitcf2fde7b39e9446e2af015215d7fb695781af0c1
tree646bec4e1717bf8370a3d4153c59a06a4a78f73f
parent38183b9c31cf21d8996d6eee2e3a14508b20c418
param: fix module param locks when !CONFIG_SYSFS.

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