From: Rafael J. Wysocki Date: Thu, 7 Dec 2006 04:34:15 +0000 (-0800) Subject: [PATCH] swsusp: add ioctl for swap files support X-Git-Tag: v2.6.20-rc1~145^2^2~285 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37b2ba12df88f0e29f2d52aaf1ab22789377d5b5;p=pandora-kernel.git [PATCH] swsusp: add ioctl for swap files support To be able to use swap files as suspend storage from the userland suspend tools we need an additional ioctl() that will allow us to provide the kernel with both the swap header's offset and the identification of the resume partition. The new ioctl() should be regarded as a replacement for the SNAPSHOT_SET_SWAP_FILE ioctl() that from now on will be considered as obsolete, but has to stay for backwards compatibility of the interface. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed