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 19:05:27 +0000 (11:05 -0800)
commit884d5952afcbee9d56961663051390dda586107f
tree0d731b4a59d894012b919edd74eecddf260cbb23
parent0cc9fcd42fdf34e165a90a4358a37ec93e682d0c
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