]> git.baikalelectronics.ru Git - kernel.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)
commitd6ccc8656e8260802b3918cbb33d435c39e42e36
tree3fd2ad33e7db9a4b48a314efc71f3d3726b2cf6b
parentaa6bea1ebb63227fd588509040b9980b1aa3b791
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