aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-05-13 16:03:06 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:03 -0400
commita0af469b58944f6e8c5c8ecbebb42997baf0cb9e (patch)
tree1fa478aa49c24d60417a2e1239050c4c1435a0dc /fs/btrfs/volumes.h
parentdfe25020689bb2d318782d2c9c7141203583fc70 (diff)
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>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r--fs/btrfs/volumes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index 454fe8103329..4df6b1608f91 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -71,16 +71,16 @@ struct btrfs_fs_devices {
71 /* the device with this id has the most recent coyp of the super */ 71 /* the device with this id has the most recent coyp of the super */
72 u64 latest_devid; 72 u64 latest_devid;
73 u64 latest_trans; 73 u64 latest_trans;
74 u64 lowest_devid;
75 u64 num_devices; 74 u64 num_devices;
75 u64 open_devices;
76 struct block_device *latest_bdev; 76 struct block_device *latest_bdev;
77 struct block_device *lowest_bdev;
78 /* all of the devices in the FS */ 77 /* all of the devices in the FS */
79 struct list_head devices; 78 struct list_head devices;
80 79
81 /* devices not currently being allocated */ 80 /* devices not currently being allocated */
82 struct list_head alloc_list; 81 struct list_head alloc_list;
83 struct list_head list; 82 struct list_head list;
83 int mounted;
84}; 84};
85 85
86struct btrfs_bio_stripe { 86struct btrfs_bio_stripe {