Repository navigation
Commit 773cc91
s390/qeth: fix error handling for isolation mode cmds
[ Upstream commit e2dfcfb ]
Current(?) OSA devices also store their cmd-specific return codes for
SET_ACCESS_CONTROL cmds into the top-level cmd->hdr.return_code.
So once we added stricter checking for the top-level field a while ago,
none of the error logic that rolls back the user's configuration to its
old state is applied any longer.
For this specific cmd, go back to the old model where we peek into the
cmd structure even though the top-level field indicated an error.
Fixes: 686c97e ("s390/qeth: fix error handling in adapter command callbacks")
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 799b135 commit 773cc91
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4265 | 4265 | | |
4266 | 4266 | | |
4267 | 4267 | | |
4268 | | - | |
4269 | | - | |
4270 | | - | |
4271 | 4268 | | |
4272 | 4269 | | |
4273 | 4270 | | |
| |||
4277 | 4274 | | |
4278 | 4275 | | |
4279 | 4276 | | |
4280 | | - | |
| 4277 | + | |
4281 | 4278 | | |
4282 | 4279 | | |
4283 | 4280 | | |
| |||
0 commit comments