[GIT PULL] target urgent updates for v3.4-final
From: Nicholas A. Bellinger
Date: Thu May 17 2012 - 16:12:01 EST
Hi Linus,
Here are two more target-core urgent updates for v3.4-final. Please go
ahead and pull from:
git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git 3.4-urgent
The first patch addresses a SPC-2 reservations RELEASE bug in a special
(iscsi specific) multi-ISID setup case that was allowing the same
initiator to be able to incorrect release it's own reservation on a
different SCSI path with enforce_pr_isid=1 operation. This bug was
caught by Bernhard Kohl.
The second patch is to address a bug with FILEIO backends where the
incorrect number of blocks for READ_CAPACITY was being reported after an
underlying device-mapper block_device size change. This patch uses now
i_size_read() in fd_get_blocks() for FILEIO backends with an underlying
block_device, instead of trying to determine this value at setup time
during fd_create_virtdevice(). (hch CC'ed)
Both are CC'ed to stable.
Thank you,
--nab
Bernhard Kohl (1):
target: Fix SPC-2 RELEASE bug for multi-session iSCSI client setups
Nicholas Bellinger (1):
target: Fix bug in handling of FILEIO + block_device resize ops
drivers/target/target_core_file.c | 22 ++++++++++++++++------
drivers/target/target_core_pr.c | 3 +++
2 files changed, 19 insertions(+), 6 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/