dm array: fix bug in growing array
authorJoe Thornber <ejt@redhat.com>
Wed, 30 Oct 2013 11:19:59 +0000 (11:19 +0000)
committerMike Snitzer <snitzer@redhat.com>
Tue, 5 Nov 2013 16:20:50 +0000 (11:20 -0500)
commit9c1d4de56066e4d6abc66ec188faafd7b303fb08
tree58f397f4ea11d2f9c59c467f77072db153e2a968
parentb63349a7a53d34ffde70cb4feec48ea9e6f5e97b
dm array: fix bug in growing array

Entries would be lost if the old tail block was partially filled.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org # 3.9+
drivers/md/persistent-data/dm-array.c