]> git.ipfire.org Git - thirdparty/linux.git/commit
PM / sleep: move SNAPSHOT_SET_SWAP_AREA handling into a helper
authorChristoph Hellwig <hch@lst.de>
Mon, 6 Apr 2020 11:58:34 +0000 (13:58 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Apr 2020 19:42:36 +0000 (21:42 +0200)
commit88a77559cc06f4a80e956dbf2da2a33c5f18c0af
tree3fd2ad33e7db9a4b48a314efc71f3d3726b2cf6b
parent7e63420847ae5f1036e4f7c42f0b3282e73efbc2
PM / sleep: move SNAPSHOT_SET_SWAP_AREA handling into a helper

Move the handling of the SNAPSHOT_SET_SWAP_AREA ioctl from the main
ioctl helper into a helper function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/user.c