* [PATCH] fix reiserfs_evict_inode end_writeback second call
@ 2010-08-11 11:07 Sergey Senozhatsky
2010-08-11 13:37 ` Al Viro
0 siblings, 1 reply; 2+ messages in thread
From: Sergey Senozhatsky @ 2010-08-11 11:07 UTC (permalink / raw)
To: Al Viro; +Cc: Jan Kara, reiserfs-devel, linux-kernel
reiserfs_evict_inode calls end_writeback two times hitting
kernel BUG at fs/inode.c:298 becase inode->i_state is I_CLEAR already.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
---
diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c
index ae35413..87e11d2 100644
--- a/fs/reiserfs/inode.c
+++ b/fs/reiserfs/inode.c
@@ -83,7 +83,8 @@ void reiserfs_evict_inode(struct inode *inode)
dquot_drop(inode);
inode->i_blocks = 0;
reiserfs_write_unlock_once(inode->i_sb, depth);
-
+ return;
+
no_delete:
end_writeback(inode);
dquot_drop(inode);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fix reiserfs_evict_inode end_writeback second call
2010-08-11 11:07 [PATCH] fix reiserfs_evict_inode end_writeback second call Sergey Senozhatsky
@ 2010-08-11 13:37 ` Al Viro
0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2010-08-11 13:37 UTC (permalink / raw)
To: Sergey Senozhatsky; +Cc: Jan Kara, reiserfs-devel, linux-kernel
On Wed, Aug 11, 2010 at 02:07:01PM +0300, Sergey Senozhatsky wrote:
> reiserfs_evict_inode calls end_writeback two times hitting
> kernel BUG at fs/inode.c:298 becase inode->i_state is I_CLEAR already.
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-11 13:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-11 11:07 [PATCH] fix reiserfs_evict_inode end_writeback second call Sergey Senozhatsky
2010-08-11 13:37 ` Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox