]> git.baikalelectronics.ru Git - kernel.git/commit
dm: return early from dm_pr_call() if DM device is suspended
authorMike Snitzer <snitzer@kernel.org>
Fri, 22 Jul 2022 19:31:23 +0000 (15:31 -0400)
committerMike Snitzer <snitzer@kernel.org>
Thu, 28 Jul 2022 21:29:56 +0000 (17:29 -0400)
commitd48823ea477141aa4c59bfea30bad7ad0fd8e55f
treef6b1810588487a27d8285a47dfa5cd6270f4fe1d
parentdeedd896a2577e8c6b893290f5ff17ae6b19bf99
dm: return early from dm_pr_call() if DM device is suspended

Otherwise PR ops may be issued while the broader DM device is being
reconfigured, etc.

Fixes: 193932c428ec ("dm: call PR reserve/unreserve on each underlying device")
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm.c