]> git.baikalelectronics.ru Git - kernel.git/commit
memory_probe: fix wrong sysfs file attribute
authorShaohua Li <shaohua.li@intel.com>
Sun, 19 Oct 2008 03:27:12 +0000 (20:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 15:52:32 +0000 (08:52 -0700)
commit894538fdc01507992ce310f7689b77324dff1052
tree42cece0904a9249579ce551d175c01e76e918a18
parent4b750e4b81fa0152c44354021a58c78376868ba3
memory_probe: fix wrong sysfs file attribute

This attribute just has a write operation.

[akpm@linux-foundation.org: use S_IWUSR as suggested by Randy]
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/base/memory.c