Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 20475
b: refs/heads/master
c: b2f4903
h: refs/heads/master
i:
  20473: 85514e6
  20471: f343fd5
v: v3
  • Loading branch information
Peter Staubach authored and Linus Torvalds committed Feb 17, 2006
1 parent cd588c4 commit 4577245
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 614f8f50ca1361d054cdeca38d241684490d2296
refs/heads/master: b2f49033d80c952a0ffc2d5647bc1a0b8a09c1b3
6 changes: 4 additions & 2 deletions trunk/fs/ext2/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -792,18 +792,20 @@ ext2_xattr_delete_inode(struct inode *inode)
ext2_free_blocks(inode, EXT2_I(inode)->i_file_acl, 1);
get_bh(bh);
bforget(bh);
unlock_buffer(bh);
} else {
HDR(bh)->h_refcount = cpu_to_le32(
le32_to_cpu(HDR(bh)->h_refcount) - 1);
if (ce)
mb_cache_entry_release(ce);
ea_bdebug(bh, "refcount now=%d",
le32_to_cpu(HDR(bh)->h_refcount));
unlock_buffer(bh);
mark_buffer_dirty(bh);
if (IS_SYNC(inode))
sync_dirty_buffer(bh);
DQUOT_FREE_BLOCK(inode, 1);
}
ea_bdebug(bh, "refcount now=%d", le32_to_cpu(HDR(bh)->h_refcount) - 1);
unlock_buffer(bh);
EXT2_I(inode)->i_file_acl = 0;

cleanup:
Expand Down

0 comments on commit 4577245

Please sign in to comment.