]> sourceware.org Git - systemtap.git/commit
Have the scsi tapset support newer kernels struct scsi_cmnd
authorWilliam Cohen <wcohen@redhat.com>
Tue, 12 Sep 2023 14:18:58 +0000 (10:18 -0400)
committerWilliam Cohen <wcohen@redhat.com>
Tue, 12 Sep 2023 14:18:58 +0000 (10:18 -0400)
commite94d0e3deb34e684ca83573d7d2bc9b382db2427
treed362dee2fa0302c37c8b5629df073e609cfbac5e
parentf70b8278cf39848c75a8bdcf4a41d7463422b666
Have the scsi tapset support newer kernels struct scsi_cmnd

The linux kernel commit 2266a2def97ce11ec removed the request field
from struct scsi_cmnd.  The scsi tapset needed to test whether the
request field is available.  If request field is not available, use
the linux kernels helper function scsi_cmd_to_rq to get a value for
request.
tapset/linux/scsi.stp
This page took 0.025208 seconds and 5 git commands to generate.