linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Ext2: do not mark_inode_dirty to avoid BUG_ON
@ 2013-03-12  5:06 fanchaoting
  2013-03-12  8:14 ` Lukáš Czerner
  2013-03-13 23:09 ` Jan Kara
  0 siblings, 2 replies; 5+ messages in thread
From: fanchaoting @ 2013-03-12  5:06 UTC (permalink / raw)
  To: jack; +Cc: tyhicks, linux-ext4, wangshilong1991

From: Wang Shilong <wangsl-fnst@cn.fujitsu.com>

commit 8e3dffc651cb668e1ff4d8b89cc1c3dde7540d3b leads into
a regression that casue BUG_ON when unlinking inode.

Reported-by: tyhicks@canonical.com
Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
---
 fs/ext2/balloc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/ext2/balloc.c b/fs/ext2/balloc.c
index 9f9992b..06d82fc 100644
--- a/fs/ext2/balloc.c
+++ b/fs/ext2/balloc.c
@@ -562,7 +562,6 @@ error_return:
 	if (freed) {
 		percpu_counter_add(&sbi->s_freeblocks_counter, freed);
 		dquot_free_block_nodirty(inode, freed);
-		mark_inode_dirty(inode);
 	}
 }
 
-- 1.7.7.6 





^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-14  0:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-12  5:06 [PATCH] Ext2: do not mark_inode_dirty to avoid BUG_ON fanchaoting
2013-03-12  8:14 ` Lukáš Czerner
2013-03-12 10:13   ` Jan Kara
2013-03-13 23:09 ` Jan Kara
2013-03-14  0:43   ` Wang Shilong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).