dm: publish array_too_big
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 21 Oct 2008 16:44:57 +0000 (17:44 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 21 Oct 2008 16:44:57 +0000 (17:44 +0100)
commitd63a5ce3c0d25c96bdadc78792e5b48b846e899d
treeac46375b47f784dff17d1e657d5115b45ad86844
parent7acedc5b98a2fcff64f00c21110aae7d3ac2f7df
dm: publish array_too_big

Move array_too_big to include/linux/device-mapper.h because it is
used by targets.

Remove the test from dm-raid1 as the number of mirror legs is limited
such that it can never fail.  (Even for stripes it seems rather
unlikely.)

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-raid1.c
drivers/md/dm-stripe.c
drivers/md/dm.h
include/linux/device-mapper.h