diff options
author | Swen Schillig <[email protected]> | 2008-11-27 11:44:07 +0100 |
---|---|---|
committer | James Bottomley <[email protected]> | 2008-12-01 10:18:20 -0600 |
commit | f7a65e92e4bef3ccf9e008ed8cd52d914b6a4adb (patch) | |
tree | 24a743e1f13fe03b6c2c675ab90944b08260ddcb /fs/jbd2/commit.c | |
parent | fca55b6fb587e42c7761ee30bd1a6c313a9270c9 (diff) |
[SCSI] zfcp: prevent double decrement on host_busy while being busy
The zfcp_scsi_queuecommand was not acting according to the standard
when the respective unit was not available. In this case an -EBUSY was
returned, which is not valid in itself, and in addition scsi_done
was called. This combination is not allowed and was leading to a
double finish of the request and therefor double decrement of the
host_busy counter.
Signed-off-by: Swen Schillig <[email protected]>
Signed-off-by: Christof Schmitt <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions