Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376316
b: refs/heads/master
c: 509e708
h: refs/heads/master
v: v3
  • Loading branch information
Dave Chinner authored and Ben Myers committed May 24, 2013
1 parent 14915aa commit b5ee9d2
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 7031d0e1c46e2b1c869458233dd216cb72af41b2
refs/heads/master: 509e708a8929c5b75a16c985c03db5329e09cad4
5 changes: 3 additions & 2 deletions trunk/fs/xfs/xfs_extfree_item.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,12 @@ xfs_efi_release(xfs_efi_log_item_t *efip,
{
ASSERT(atomic_read(&efip->efi_next_extent) >= nextents);
if (atomic_sub_and_test(nextents, &efip->efi_next_extent)) {
__xfs_efi_release(efip);

/* recovery needs us to drop the EFI reference, too */
if (test_bit(XFS_EFI_RECOVERED, &efip->efi_flags))
__xfs_efi_release(efip);

__xfs_efi_release(efip);
/* efip may now have been freed, do not reference it again. */
}
}

Expand Down

0 comments on commit b5ee9d2

Please sign in to comment.