summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorJosef Bacik2011-08-08 18:50:18 +0200
committerJosef Bacik2011-10-19 21:12:34 +0200
commitdabdb6408cb801644fa613c7432da012640b348c (patch)
tree846978b48af90315b14bf984d0b0a55a962eff6b /fs/btrfs/ctree.h
parentBtrfs: ratelimit the generation printk for the free space cache (diff)
downloadkernel-qcow2-linux-dabdb6408cb801644fa613c7432da012640b348c.tar.gz
kernel-qcow2-linux-dabdb6408cb801644fa613c7432da012640b348c.tar.xz
kernel-qcow2-linux-dabdb6408cb801644fa613c7432da012640b348c.zip
Btrfs: kill unused parts of block_rsv
The priority and refill_used flags are not used anymore, and neither is the usage counter, so just remove them from btrfs_block_rsv. Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index c5ceba4078cc..58a06dea4791 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -774,9 +774,6 @@ struct btrfs_block_rsv {
u64 reserved;
struct btrfs_space_info *space_info;
spinlock_t lock;
- atomic_t usage;
- unsigned int priority:8;
- unsigned int refill_used:1;
unsigned int full:1;
};