Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299819
b: refs/heads/master
c: 1f699d3
h: refs/heads/master
i:
  299817: 097bfa2
  299815: ee560ae
v: v3
  • Loading branch information
Stefan Behrens authored and Chris Mason committed Apr 27, 2012
1 parent a7059c2 commit 005a4a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1daf3540fa77faea2f91d96bcaf07ce48ee827be
refs/heads/master: 1f699d38b6556c393ac80f1c23c2053502a51631
4 changes: 2 additions & 2 deletions trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -4214,8 +4214,8 @@ static void update_global_block_rsv(struct btrfs_fs_info *fs_info)

num_bytes = calc_global_metadata_size(fs_info);

spin_lock(&block_rsv->lock);
spin_lock(&sinfo->lock);
spin_lock(&block_rsv->lock);

block_rsv->size = num_bytes;

Expand All @@ -4241,8 +4241,8 @@ static void update_global_block_rsv(struct btrfs_fs_info *fs_info)
block_rsv->full = 1;
}

spin_unlock(&sinfo->lock);
spin_unlock(&block_rsv->lock);
spin_unlock(&sinfo->lock);
}

static void init_global_block_rsv(struct btrfs_fs_info *fs_info)
Expand Down

0 comments on commit 005a4a9

Please sign in to comment.