summaryrefslogtreecommitdiff
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorCesar Eduardo Barros <cesarb@cesarb.net>2011-03-23 02:33:32 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 03:44:08 +0300
commit915d4d7bc0d719f2f0907273c01967d38751c625 (patch)
treedeeab9a10407fa37dedb24d1adc5a83626f740f6 /mm/memcontrol.c
parent1421ef3cd15b87ef949e965efeb1e527479d3f75 (diff)
downloadlinux-915d4d7bc0d719f2f0907273c01967d38751c625.tar.xz
sys_swapon: separate parsing of bad blocks and extents
Move the code which parses the bad block list and the extents to a separate function. Only code movement, no functional changes. This change uses the fact that, after the success path, nr_good_pages == p->pages. Signed-off-by: Cesar Eduardo Barros <cesarb@cesarb.net> Tested-by: Eric B Munson <emunson@mgebm.net> Acked-by: Eric B Munson <emunson@mgebm.net> Reviewed-by: Pekka Enberg <penberg@kernel.org> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions