This is a note to let you know that I've just added the patch titled
dm table: fix write same support
to the 3.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
dm-table-fix-write-same-support.patch
and it can be found in the queue-3.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From dc019b21fb92d620a3b52ccecc135ac968a7c7ec Mon Sep 17 00:00:00 2001
From: Mike Snitzer <[email protected]>
Date: Fri, 10 May 2013 14:37:16 +0100
Subject: dm table: fix write same support
From: Mike Snitzer <[email protected]>
commit dc019b21fb92d620a3b52ccecc135ac968a7c7ec upstream.
If device_not_write_same_capable() returns true then the iterate_devices
loop in dm_table_supports_write_same() should return false.
Reported-by: Bharata B Rao <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/md/dm-table.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/md/dm-table.c
+++ b/drivers/md/dm-table.c
@@ -1442,7 +1442,7 @@ static bool dm_table_supports_write_same
return false;
if (!ti->type->iterate_devices ||
- !ti->type->iterate_devices(ti,
device_not_write_same_capable, NULL))
+ ti->type->iterate_devices(ti,
device_not_write_same_capable, NULL))
return false;
}
Patches currently in stable-queue which might be from [email protected] are
queue-3.9/dm-stripe-fix-regression-in-stripe_width-calculation.patch
queue-3.9/dm-table-fix-write-same-support.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html