scsi: Make sure cmd_flags are 64-bit
authorMartin K. Petersen <martin.petersen@oracle.com>
Thu, 10 Apr 2014 02:20:48 +0000 (22:20 -0400)
committerJens Axboe <axboe@fb.com>
Thu, 10 Apr 2014 02:26:20 +0000 (20:26 -0600)
commit2bfad21ecc6f837de29743f4419f47dee3fac9e2
tree9864ba0b27af0f6f2e8f0efba9a7a1bab4afa8de
parente69f18f06b97ed29645d020500222bfcec2b42b2
scsi: Make sure cmd_flags are 64-bit

cmd_flags in struct request is now 64 bits wide but the scsi_execute
functions truncated arguments passed to int leading to errors. Make sure
the flags parameters are u64.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Jens Axboe <axboe@fb.com>
CC: Jan Kara <jack@suse.cz>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/scsi_lib.c
include/scsi/scsi_device.h