]> err.no Git - util-linux/commit
swapon: Reinitialize software suspend areas to avoid future corruption.
authorKees Cook <kees.cook@canonical.com>
Thu, 20 Mar 2008 08:24:03 +0000 (01:24 -0700)
committerLaMont Jones <lamont@debian.org>
Fri, 21 Mar 2008 16:06:04 +0000 (10:06 -0600)
commite02e37dc546f00e03c065a475f957064d8df9221
tree33df8e4bbf89533634c450fa3738a542fc50b064
parent347d7459834e11b99eeb2152a479d58023de3fe3
swapon: Reinitialize software suspend areas to avoid future corruption.

This is based on the earlier swsuspend re-init patch carried by
RedHat, SuSE, and Ubuntu.  It has been updated to include passing
the known UUID to mkswap, and fixing the fstype name.

Co-Author: Karel Zak <kzak@redhat.com>
Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/swapon.c