diff options
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r-- | fs/btrfs/btrfs_inode.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h index 1b9ec1ab1f68..a8c9693b75ac 100644 --- a/fs/btrfs/btrfs_inode.h +++ b/fs/btrfs/btrfs_inode.h | |||
@@ -28,11 +28,6 @@ struct btrfs_inode { | |||
28 | /* which subvolume this inode belongs to */ | 28 | /* which subvolume this inode belongs to */ |
29 | struct btrfs_root *root; | 29 | struct btrfs_root *root; |
30 | 30 | ||
31 | /* the block group preferred for allocations. This pointer is buggy | ||
32 | * and needs to be replaced with a bytenr instead | ||
33 | */ | ||
34 | struct btrfs_block_group_cache *block_group; | ||
35 | |||
36 | /* key used to find this inode on disk. This is used by the code | 31 | /* key used to find this inode on disk. This is used by the code |
37 | * to read in roots of subvolumes | 32 | * to read in roots of subvolumes |
38 | */ | 33 | */ |
@@ -115,6 +110,9 @@ struct btrfs_inode { | |||
115 | */ | 110 | */ |
116 | u64 index_cnt; | 111 | u64 index_cnt; |
117 | 112 | ||
113 | /* the start of block group preferred for allocations. */ | ||
114 | u64 block_group; | ||
115 | |||
118 | struct inode vfs_inode; | 116 | struct inode vfs_inode; |
119 | }; | 117 | }; |
120 | 118 | ||