diff options
author | Hannes Reinecke <hare@suse.de> | 2014-06-25 17:27:39 +0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-18 00:07:39 +0400 |
commit | d9e5d6183715e691b37afd3785c311d05cd1338d (patch) | |
tree | b7b85fb5f76d647fe128972dadfe0157c8703478 /drivers/scsi/sr.h | |
parent | 1abf635d2f3332641570e1913e317073834a055f (diff) | |
download | linux-d9e5d6183715e691b37afd3785c311d05cd1338d.tar.xz |
scsi_scan: Fixup scsilun_to_int()
scsilun_to_int() has an error which prevents it from generating
correct LUN numbers for 64bit values.
Also we should remove the misleading comment about portions of
the LUN being ignored; the initiator should treat the LUN as
an opaque value.
And, finally, the example given should use the correct
prefix (here: extended flat space addressing scheme).
This patch includes the modifications suggested by
Bart van Assche.
Cc: Bart van Assche <bvanassche@acm.org>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: James Bottomley <jbottomley@parallels.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/sr.h')
0 files changed, 0 insertions, 0 deletions