diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2013-04-16 13:11:56 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-05-02 22:39:54 (GMT) |
commit | ac17078ae6947254331f56ce4f1db9ea221d43d6 (patch) | |
tree | e2909e1b328f57de1e2fbd7eb2b47a1723e54bae /fs/cachefiles/rdwr.c | |
parent | 9ed8d3dc5b46f86ab9117937bd24427ac10e8de5 (diff) | |
download | linux-fsl-qoriq-ac17078ae6947254331f56ce4f1db9ea221d43d6.tar.xz |
[SCSI] scsi_debug: prohibit scsi_debug_unmap_granularity == scsi_debug_unmap_alignment
scsi_debug prohibits setting scsi_debug_unmap_alignment to be greater
than scsi_debug_unmap_granularity. But setting them to be the same value
is not prohibited. In this case, the only difference with
scsi_debug_unmap_alignment == 0 is the logical blocks from 0 to
scsi_debug_unmap_alignment - 1 cannot be unmapped. But the difference is
not properly handled in the current code.
So this prohibits such unusual setting.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'fs/cachefiles/rdwr.c')
0 files changed, 0 insertions, 0 deletions