commit | 4e178c17cac07d58df7d31ef6fe10036cfa3883d | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Tue Jul 31 12:51:52 2018 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Aug 02 15:22:39 2018 -0600 |
tree | 36dcbbaa0e078c465202a21e1ef636fc92719501 | |
parent | 7a6873be1b11517a0c55ab4534e4de54b3e228a3 [diff] |
cdrom: Use struct scsi_sense_hdr internally This removes more casts of struct request_sense and uses the standard struct scsi_sense_hdr instead. This also fixes any possible stale values since the prior code did not check the sense length. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>