Commit 3146345
nvmet-fc: abort command when there is no binding
When the target port has not active port binding, there is no point in
trying to process the command as it has to fail anyway. Instead adding
checks to all commands abort the command early.
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>1 parent 1c11058 commit 3146345
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1099 | 1099 | | |
1100 | 1100 | | |
1101 | 1101 | | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
1102 | 1105 | | |
1103 | 1106 | | |
1104 | 1107 | | |
| |||
2514 | 2517 | | |
2515 | 2518 | | |
2516 | 2519 | | |
2517 | | - | |
2518 | | - | |
| 2520 | + | |
| 2521 | + | |
| 2522 | + | |
2519 | 2523 | | |
2520 | 2524 | | |
2521 | 2525 | | |
| |||
0 commit comments