android_kernel_sony_sdm845/kernel/power
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christoph Hellwig 957559da13 PM: hibernate: remove the bogus call to get_gendisk() in software_resume()
[ Upstream commit 428805c0c5e76ef643b1fbc893edfb636b3d8aef ]

get_gendisk grabs a reference on the disk and file operation, so this
code will leak both of them while having absolutely no use for the
gendisk itself.

This effectively reverts commit 2df83fa4bc ("PM / Hibernate: Use
get_gendisk to verify partition if resume_file is integer format")

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:05:43 +01:00
..
autosleep.c
console.c
hibernate.c PM: hibernate: remove the bogus call to get_gendisk() in software_resume() 2020-10-29 09:05:43 +01:00
Kconfig PM / sleep: wakeup: Fix build error caused by missing SRCU support 2018-09-09 20:01:23 +02:00
main.c
Makefile
power.h
poweroff.c
process.c
qos.c
snapshot.c PM / hibernate: memory_bm_find_bit(): Tighten node optimisation 2020-01-12 11:24:11 +01:00
suspend.c
suspend_test.c
swap.c
user.c PM / hibernate: Fix oops at snapshot_write() 2018-07-17 11:37:54 +02:00
wakelock.c