aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r--fs/btrfs/btrfs_inode.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h
index 1b9ec1ab1f6..a8c9693b75a 100644
--- a/fs/btrfs/btrfs_inode.h
+++ b/fs/btrfs/btrfs_inode.h
@@ -28,11 +28,6 @@ struct btrfs_inode {
/* which subvolume this inode belongs to */
struct btrfs_root *root;
- /* the block group preferred for allocations. This pointer is buggy
- * and needs to be replaced with a bytenr instead
- */
- struct btrfs_block_group_cache *block_group;
-
/* key used to find this inode on disk. This is used by the code
* to read in roots of subvolumes
*/
@@ -115,6 +110,9 @@ struct btrfs_inode {
*/
u64 index_cnt;
+ /* the start of block group preferred for allocations. */
+ u64 block_group;
+
struct inode vfs_inode;
};