From 45772456387839d1cdc9b6a3d9fdea66b1d8db7f Mon Sep 17 00:00:00 2001 From: Peter Staubach Date: Fri, 17 Feb 2006 13:52:36 -0800 Subject: [PATCH] --- yaml --- r: 20475 b: refs/heads/master c: b2f49033d80c952a0ffc2d5647bc1a0b8a09c1b3 h: refs/heads/master i: 20473: 85514e6daa35e5c3fc1601c13614bf2efd800c9e 20471: f343fd56cc36d090c221a8eba26e415848d7ed9c v: v3 --- [refs] | 2 +- trunk/fs/ext2/xattr.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index c273468a3e0a..42210c42e894 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 614f8f50ca1361d054cdeca38d241684490d2296 +refs/heads/master: b2f49033d80c952a0ffc2d5647bc1a0b8a09c1b3 diff --git a/trunk/fs/ext2/xattr.c b/trunk/fs/ext2/xattr.c index a2ca3107d475..86ae8e93adb9 100644 --- a/trunk/fs/ext2/xattr.c +++ b/trunk/fs/ext2/xattr.c @@ -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: