diff options
author | Cesar Eduardo Barros <cesarb@cesarb.net> | 2011-03-23 00:33:29 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-23 01:44:07 +0100 |
commit | ca8bd38bf6f05481c4155fc444178151884f65d0 (patch) | |
tree | efb917f23834153878a8f9f4c5f784e9cb900f66 /mm/truncate.c | |
parent | sys_swapon: move setting of swapfilepages near use (diff) | |
download | linux-ca8bd38bf6f05481c4155fc444178151884f65d0.tar.xz linux-ca8bd38bf6f05481c4155fc444178151884f65d0.zip |
sys_swapon: separate parsing of swapfile header
Move the code which parses and checks the swapfile header (except for
the bad block list) to a separate function. Only code movement, no
functional changes.
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: 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/truncate.c')
0 files changed, 0 insertions, 0 deletions