From: Rusty Russell Date: Thu, 12 Aug 2010 05:04:19 +0000 (-0600) Subject: param: locking for kernel parameters X-Git-Tag: v2.6.36-rc1~57^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=907b29eb41aa604477a655bff7345731da94514d;p=pandora-kernel.git param: locking for kernel parameters There may be cases (most obviously, sysfs-writable charp parameters) where a module needs to prevent sysfs access to parameters. Rather than express this in terms of a big lock, the functions are expressed in terms of what they protect against. This is clearer, esp. if the implementation changes to a module-level or even param-level lock. Signed-off-by: Rusty Russell Reviewed-by: Takashi Iwai Tested-by: Phil Carmody --- Reading git-diff-tree failed