parent
72c2031652
commit
dfaa74b1af
@ -94,6 +94,10 @@ function `sr_block_ioctl()` in case of SG_IO:
|
||||
static int sr_block_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd,
|
||||
unsigned long arg)
|
||||
{
|
||||
...
|
||||
#include <scsi/sg.h> /* For number value of ioctl cmd SG_IO */
|
||||
...
|
||||
|
||||
...
|
||||
if (cmd != SG_IO)
|
||||
mutex_lock(&sr_mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user