BACKPORT: UPSTREAM: scsi: ufs: Track system suspend / resume activity
Add a new boolean variable that tracks whether the system is suspending, suspended or resuming. This information will be used in a later commit to fix a deadlock between the SCSI error handler and the suspend code. Reviewed-by:Adrian Hunter <adrian.hunter@intel.com> Change-Id: Ida8b4e67460db2546314361456c6b0aba1a7a7a0 Signed-off-by:
Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20221018202958.1902564-9-bvanassche@acm.org Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Bug: 269124154 (cherry picked from commit 1a547cbc) [ bvanassche: changed a member variable into a static variable with file scope ] Signed-off-by:
Bart Van Assche <bvanassche@google.com>
Loading
Please sign in to comment