]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/btrfs/btrfs_inode.h
Btrfs: kill BTRFS_I(inode)->block_group
[mirror_ubuntu-bionic-kernel.git] / fs / btrfs / btrfs_inode.h
index ccc991c542df39ca152f53950aa98ec75aa1d7a9..4bc852d3b83de3502a663569fdd2450ba4e28347 100644 (file)
@@ -120,9 +120,6 @@ struct btrfs_inode {
         */
        u64 index_cnt;
 
-       /* the start of block group preferred for allocations. */
-       u64 block_group;
-
        /* the fsync log has some corner cases that mean we have to check
         * directories to see if any unlinks have been done before
         * the directory was logged.  See tree-log.c for all the
@@ -136,9 +133,8 @@ struct btrfs_inode {
         * items we think we'll end up using, and reserved_extents is the number
         * of extent items we've reserved metadata for.
         */
-       spinlock_t accounting_lock;
        atomic_t outstanding_extents;
-       int reserved_extents;
+       atomic_t reserved_extents;
 
        /*
         * ordered_data_close is set by truncate when a file that used