From: Sergey Senozhatsky Date: Wed, 11 Aug 2010 11:07:01 +0000 (+0300) Subject: fix reiserfs_evict_inode end_writeback second call X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f4ae2faa40199b97b12f508234640bc565d166f8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git fix reiserfs_evict_inode end_writeback second call 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 Signed-off-by: Al Viro --- diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c index ae35413dcbe1..caa758377d66 100644 --- a/fs/reiserfs/inode.c +++ b/fs/reiserfs/inode.c @@ -83,6 +83,7 @@ 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);