Chen Yu 08169a162f PM: hibernate: Turn snapshot_test into global variable
There is need to check snapshot_test and open block device
in different mode, so as to avoid the race condition.

No functional changes intended.

Suggested-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-04-27 19:00:28 +02:00
..
2021-04-08 19:37:21 +02:00
2023-01-20 17:53:07 +01:00
2020-05-15 14:53:20 +02:00
2022-10-10 09:10:28 -07:00