swap: yield device immediately
authorChristian Brauner <brauner@kernel.org>
Tue, 21 May 2024 19:00:44 +0000 (21:00 +0200)
committerChristian Brauner <brauner@kernel.org>
Fri, 24 May 2024 11:34:08 +0000 (13:34 +0200)
commit712182b67e831912f90259102ae334089e7bccd1
tree75d4553850a329a5559cea6a5028889813a8c189
parentc596bea1452ddf172ec9b588e4597228e9a1f4d5
swap: yield device immediately

Otherwise we can cause spurious EBUSY issues when trying to mount the
rootfs later on.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=218845
Reported-by: Petri Kaukasoina <petri.kaukasoina@tuni.fi>
Signed-off-by: Christian Brauner <brauner@kernel.org>
kernel/power/swap.c