commit | 08169a162f97819d3e5b4a342bb9cf5137787154 | [log] [tgz] |
---|---|---|
author | Chen Yu <yu.c.chen@intel.com> | Fri Apr 14 20:10:26 2023 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Apr 27 19:00:28 2023 +0200 |
tree | fd6163fecc83a5bcb27af62bb5fe76b1315ba592 | |
parent | 0cfd8703e7da687924371e9bc77a025bdeba9637 [diff] |
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>