]> git.baikalelectronics.ru Git - kernel.git/commit
PM: hibernate: flush swap writer after marking
authorLaurent Badel <laurentbadel@eaton.com>
Fri, 22 Jan 2021 16:19:41 +0000 (17:19 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 Jan 2021 17:52:30 +0000 (18:52 +0100)
commit28835accae5023b71411f824a0df8d6a84101a2c
treefd4fbce60a5fb846181794d0b9486cbe2e0fd978
parent4b578fb13edb583a5c3124748ad5da8b55033b84
PM: hibernate: flush swap writer after marking

Flush the swap writer after, not before, marking the files, to ensure the
signature is properly written.

Fixes: 3fd244eb57f1 ("PM / Hibernate: Group swap ops")
Signed-off-by: Laurent Badel <laurentbadel@eaton.com>
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/swap.c