commit | 7a6873be1b11517a0c55ab4534e4de54b3e228a3 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Tue Jul 31 12:51:51 2018 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Aug 02 15:22:37 2018 -0600 |
tree | 4e6c4ee6851408a428b2ef7e57e01b5ccc911f44 | |
parent | e7d0748dd71695b94f3a35c8bdc05226a7f3d919 [diff] |
ide-cd: Remove redundant sense buffer This is already able to process the sense buffer, so remove the redundant parsing during the failure path. This also fixes any possible stale values since the prior code did not check the sense length. Acked-by: David S. Miller <davem@davemloft.net> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>