summaryrefslogtreecommitdiffstats
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorCesar Eduardo Barros <cesarb@cesarb.net>2011-03-23 00:33:29 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 01:44:07 +0100
commitca8bd38bf6f05481c4155fc444178151884f65d0 (patch)
treeefb917f23834153878a8f9f4c5f784e9cb900f66 /mm/truncate.c
parentsys_swapon: move setting of swapfilepages near use (diff)
downloadlinux-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