base: memory: fix soft/hard_offline_page permissions
authorFelipe Balbi <balbi@ti.com>
Mon, 18 Feb 2013 19:09:03 +0000 (21:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Feb 2013 19:18:13 +0000 (11:18 -0800)
commit74fef7a8fd1d2bd94f925d6638bb4c3049e7c381
tree7236c4641dc73aafe2e8069f3fe1f5ec04f75a7b
parentd72cca1eee5b26e313da2a380d4862924e271031
base: memory: fix soft/hard_offline_page permissions

those two sysfs files don't have a 'show' method,
so they shouldn't have a read permission. Thanks
to Greg Kroah-Hartman for actually looking into
the source code and figuring out we had a real bug
with these two files.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/memory.c