diff options
| author | Cesar Eduardo Barros <[email protected]> | 2011-03-22 16:33:32 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-03-22 17:44:08 -0700 |
| commit | 915d4d7bc0d719f2f0907273c01967d38751c625 (patch) | |
| tree | deeab9a10407fa37dedb24d1adc5a83626f740f6 /tools/perf/scripts/python/bin | |
| parent | 1421ef3cd15b87ef949e965efeb1e527479d3f75 (diff) | |
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 <[email protected]>
Tested-by: Eric B Munson <[email protected]>
Acked-by: Eric B Munson <[email protected]>
Reviewed-by: Pekka Enberg <[email protected]>
Reviewed-by: KAMEZAWA Hiroyuki <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions