diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-09-23 10:36:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-23 12:07:54 -0700 |
commit | 7fb7fe5c7bacb1b1189b779f7f81c785bfc964a4 (patch) | |
tree | 675f2b9cba28732df8b1f0fed45f1e5be58858aa /kernel/kcmp.c | |
parent | f3380b1edc1dd06d874227570a5fe0fbf50eb607 (diff) |
s390/qeth: cancel cmds earlier during teardown
Originators of cmd IO typically hold the rtnl or conf_mutex to protect
against a concurrent teardown.
Since qeth_set_offline() already holds the conf_mutex, the main reason
why we still care about cancelling pending cmds is so that they release
the rtnl when we need it ourselves.
So move this step a little earlier into the teardown sequence.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/kcmp.c')
0 files changed, 0 insertions, 0 deletions