diff options
author | Chris Mason <chris.mason@oracle.com> | 2011-05-23 06:30:52 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-05-23 06:30:52 -0400 |
commit | 712673339a0d085358fd1cd3a6477cc7979bb69f (patch) | |
tree | b2e268685e3cbba19a4adb2a47d853e4e461fcfc /fs/btrfs/volumes.h | |
parent | aa2dfb372a2a647beedac163ce6f8b0fcbefac29 (diff) | |
parent | 8628764e1a5e1998a42b9713e9edea7753653d01 (diff) |
Merge branch 'for-chris' of git://git.kernel.org/pub/scm/linux/kernel/git/arne/btrfs-unstable-arne into inode_numbers
Conflicts:
fs/btrfs/Makefile
fs/btrfs/ctree.h
fs/btrfs/volumes.h
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r-- | fs/btrfs/volumes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index 05d5d199381a..7c58a7b2d99f 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h | |||
@@ -85,6 +85,9 @@ struct btrfs_device { | |||
85 | /* physical drive uuid (or lvm uuid) */ | 85 | /* physical drive uuid (or lvm uuid) */ |
86 | u8 uuid[BTRFS_UUID_SIZE]; | 86 | u8 uuid[BTRFS_UUID_SIZE]; |
87 | 87 | ||
88 | /* per-device scrub information */ | ||
89 | struct scrub_dev *scrub_device; | ||
90 | |||
88 | struct btrfs_work work; | 91 | struct btrfs_work work; |
89 | }; | 92 | }; |
90 | 93 | ||
@@ -158,6 +161,9 @@ struct map_lookup { | |||
158 | struct btrfs_bio_stripe stripes[]; | 161 | struct btrfs_bio_stripe stripes[]; |
159 | }; | 162 | }; |
160 | 163 | ||
164 | #define map_lookup_size(n) (sizeof(struct map_lookup) + \ | ||
165 | (sizeof(struct btrfs_bio_stripe) * (n))) | ||
166 | |||
161 | int btrfs_account_dev_extents_size(struct btrfs_device *device, u64 start, | 167 | int btrfs_account_dev_extents_size(struct btrfs_device *device, u64 start, |
162 | u64 end, u64 *length); | 168 | u64 end, u64 *length); |
163 | 169 | ||