commit | 0a1be15097a5f5ee8cbaf7cf0a55146363db0e4d | [log] [tgz] |
---|---|---|
author | Toshi Kani <[email protected]> | Mon Jul 08 16:00:41 2013 -0700 |
committer | Linus Torvalds <[email protected]> | Tue Jul 09 10:33:25 2013 -0700 |
tree | f8fde1ec945694785aabe11b3f0e9f3e5dff3270 | |
parent | 5f12733e9d976132e6cbbae9d08f71406fdacdfb [diff] |
mm/memory_hotplug.c: fix return value of online_pages() online_pages() is called from memory_block_action() when a user requests to online a memory block via sysfs. This function needs to return a proper error value in case of error. Signed-off-by: Toshi Kani <[email protected]> Cc: Yasuaki Ishimatsu <[email protected]> Cc: Tang Chen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>