dm: allow offline devices
authorMike Anderson <andmike@us.ibm.com>
Wed, 9 May 2007 09:32:57 +0000 (02:32 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:47 +0000 (12:30 -0700)
commit2cd54d9bedb79a97f014e86c0da393416b264eb3
treebb7b81120cdd84e106da22222b6eec57e45ac5c4
parent79eb885c96b5ccf8bbffd0dddc4c15a5dd436a1c
dm: allow offline devices

Allow check_device_area to succeed if a device has an i_size of zero.  This
addresses an issue seen on DASD devices setting up a multipath table for paths
in online and offline state.

Signed-off-by: Mike Anderson <andmike@us.ibm.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/dm-table.c