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)
commit9f1b16a51ea7180eca8a0d76a6bd587385a30757
tree42cece0904a9249579ce551d175c01e76e918a18
parent1125b4e3949949b44a7c80b619507c6f61d62911
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