]> git.baikalelectronics.ru Git - kernel.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)
commite3cac15e3cbb8b3a64b5d7deab06380707681592
tree646bec4e1717bf8370a3d4153c59a06a4a78f73f
parentbe2e1227d5e60587b5760a3a8197469303624b53
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