diff options
author | David Disseldorp <ddiss@suse.de> | 2017-10-19 01:39:19 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-11-04 15:00:17 -0700 |
commit | bdc79f0ed12ff55a9b56a91da04d0c8d8a786b9c (patch) | |
tree | 6742beee0ec5e5dbc078c4362392491294f76af0 /fs/coda/coda_linux.c | |
parent | 1ae01724ae92004be36a6c11c4d5a9f94e915204 (diff) | |
download | linux-stable-bdc79f0ed12ff55a9b56a91da04d0c8d8a786b9c.tar.gz linux-stable-bdc79f0ed12ff55a9b56a91da04d0c8d8a786b9c.tar.bz2 linux-stable-bdc79f0ed12ff55a9b56a91da04d0c8d8a786b9c.zip |
target: fix PR state file path truncation
If an LIO backstore is configured with a sufficiently long Unit Serial
string, alongside a similarly long dbroot path, then a truncated
Persistent Reservation APTPL state file path will be used. This
truncation can unintentionally lead to two LUs with differing serial
numbers sharing PR state file.
Fixes: fdddf932269a ("target: use new "dbroot" target attribute")
Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'fs/coda/coda_linux.c')
0 files changed, 0 insertions, 0 deletions