projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c596bea
)
swap: yield device immediately
author
Christian Brauner
<brauner@kernel.org>
Tue, 21 May 2024 19:00:44 +0000
(21:00 +0200)
committer
Christian Brauner
<brauner@kernel.org>
Fri, 24 May 2024 11:34:08 +0000
(13:34 +0200)
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
patch
|
blob
|
history
diff --git
a/kernel/power/swap.c
b/kernel/power/swap.c
index 5bc04bfe2db1d355a3ffc0416f51f0ccbbc6f3ad..c6f24d17866d838c711575c153b46313a7c09d21 100644
(file)
--- a/
kernel/power/swap.c
+++ b/
kernel/power/swap.c
@@
-1600,7
+1600,7
@@
int swsusp_check(bool exclusive)
put:
if (error)
- fput(hib_resume_bdev_file);
+
bdev_
fput(hib_resume_bdev_file);
else
pr_debug("Image signature found, resuming\n");
} else {