aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/tcm_fc
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2012-07-16 15:34:22 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2012-07-16 17:35:35 -0700
commit2594e29865c291db162313187612cd9f14538f33 (patch)
tree731fc047cfaa1965a920d1f48206da8af46a9a2c /drivers/target/tcm_fc
parente2397c704429025bc6b331a970f699e52f34283e (diff)
downloadkernel_goldelico_gta04-2594e29865c291db162313187612cd9f14538f33.zip
kernel_goldelico_gta04-2594e29865c291db162313187612cd9f14538f33.tar.gz
kernel_goldelico_gta04-2594e29865c291db162313187612cd9f14538f33.tar.bz2
target: Add range checking to UNMAP emulation
When processing an UNMAP command, we need to make sure that the number of blocks we're asked to UNMAP does not exceed our reported maximum number of blocks per UNMAP, and that the range of blocks we're unmapping doesn't go past the end of the device. Signed-off-by: Roland Dreier <roland@purestorage.com> Cc: stable@vger.kernel.org Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/tcm_fc')
0 files changed, 0 insertions, 0 deletions