From: fanchaoting <fanchaoting@cn.fujitsu.com>
To: jack@suse.cz
Cc: tyhicks@canonical.com, linux-ext4@vger.kernel.org,
wangshilong1991@gmail.com
Subject: [PATCH] Ext2: do not mark_inode_dirty to avoid BUG_ON
Date: Tue, 12 Mar 2013 13:06:37 +0800 [thread overview]
Message-ID: <513EB7DD.3020103@cn.fujitsu.com> (raw)
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
next reply other threads:[~2013-03-12 5:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-12 5:06 fanchaoting [this message]
2013-03-12 8:14 ` [PATCH] Ext2: do not mark_inode_dirty to avoid BUG_ON Lukáš Czerner
2013-03-12 10:13 ` Jan Kara
2013-03-13 23:09 ` Jan Kara
2013-03-14 0:43 ` Wang Shilong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=513EB7DD.3020103@cn.fujitsu.com \
--to=fanchaoting@cn.fujitsu.com \
--cc=jack@suse.cz \
--cc=linux-ext4@vger.kernel.org \
--cc=tyhicks@canonical.com \
--cc=wangshilong1991@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.