Fix btrfs_open_devices to deal with changes since the scan ioctls
authorChris Mason <chris.mason@oracle.com>
Tue, 13 May 2008 20:03:06 +0000 (16:03 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:03 +0000 (11:04 -0400)
commita0af469b58944f6e8c5c8ecbebb42997baf0cb9e
tree1fa478aa49c24d60417a2e1239050c4c1435a0dc
parentdfe25020689bb2d318782d2c9c7141203583fc70
Fix btrfs_open_devices to deal with changes since the scan ioctls

Devices can change after the scan ioctls are done, and btrfs_open_devices
needs to be able to verify them as they are opened and used by the FS.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/disk-io.c
fs/btrfs/volumes.c
fs/btrfs/volumes.h