diff options
author | Josef Bacik <josef@redhat.com> | 2011-08-05 10:25:38 -0400 |
---|---|---|
committer | Josef Bacik <josef@redhat.com> | 2011-10-19 15:12:32 -0400 |
commit | 37be25bcb6d731914e126f8de59c4367f0d66b80 (patch) | |
tree | d9e78eb4440f60a7697f8f7c56a37c163734cf66 /fs/btrfs/inode.c | |
parent | dba68306f3fae681b1005137f130f5bcfdfed34a (diff) | |
download | linux-37be25bcb6d731914e126f8de59c4367f0d66b80.tar.gz linux-37be25bcb6d731914e126f8de59c4367f0d66b80.tar.bz2 linux-37be25bcb6d731914e126f8de59c4367f0d66b80.zip |
Btrfs: kill the durable block rsv stuff
This is confusing code and isn't used by anything anymore, so delete it.
Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 5f5f8a577e69..6402a41b9023 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -2164,9 +2164,6 @@ int btrfs_orphan_add(struct btrfs_trans_handle *trans, struct inode *inode) } spin_unlock(&root->orphan_lock); - if (block_rsv) - btrfs_add_durable_block_rsv(root->fs_info, block_rsv); - /* grab metadata reservation from transaction handle */ if (reserve) { ret = btrfs_orphan_reserve_metadata(trans, inode); @@ -6505,7 +6502,6 @@ static int btrfs_truncate(struct inode *inode) rsv = btrfs_alloc_block_rsv(root); if (!rsv) return -ENOMEM; - btrfs_add_durable_block_rsv(root->fs_info, rsv); trans = btrfs_start_transaction(root, 4); if (IS_ERR(trans)) { |