dm array: fix bug in growing array
authorJoe Thornber <ejt@redhat.com>
Wed, 30 Oct 2013 11:19:59 +0000 (11:19 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Dec 2013 18:56:42 +0000 (10:56 -0800)
commit0c5fd99e89b5f288ffe5c2ed301d2ffaac091891
treeababb36672c166f13903a2cbfb986daa2ebcf5e7
parent9fb1b9d041cb34f4381038e2622900dfdc4cd7b0
dm array: fix bug in growing array

commit 9c1d4de56066e4d6abc66ec188faafd7b303fb08 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/persistent-data/dm-array.c