diff options
author | Dmitry Bogdanov <d.bogdanov@yadro.com> | 2021-09-14 13:55:38 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-09-22 07:04:55 +0300 |
commit | ee3dce9f38426776b48406441d0dc39c74940818 (patch) | |
tree | f83293174688d9b972a8326b15cbaf25deeab4ba /fs/proc/fd.h | |
parent | 8d4efd0040e52bad2907a6a7b1cd686bee31fbcd (diff) | |
download | linux-ee3dce9f38426776b48406441d0dc39c74940818.tar.xz |
scsi: efct: Fix nport free
nport_free for an empty nport hangs the state machine waiting for mbox
completion if nport is not yet attached thinking that it is attaching right
now. Add a check for nport attaching state and complete nport free.
Link: https://lore.kernel.org/r/20210914105539.6942-3-d.bogdanov@yadro.com
Reviewed-by: Ram Vegesna <ram.vegesna@broadcom.com>
Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs/proc/fd.h')
0 files changed, 0 insertions, 0 deletions