summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/inode.c
diff options
context:
space:
mode:
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>2010-08-11 13:07:01 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2010-08-18 06:58:57 +0200
commitf4ae2faa40199b97b12f508234640bc565d166f8 (patch)
treea4441d53e663fe028693bd140c0c1aae26091626 /fs/reiserfs/inode.c
parentLinux 2.6.36-rc1 (diff)
downloadlinux-f4ae2faa40199b97b12f508234640bc565d166f8.tar.xz
linux-f4ae2faa40199b97b12f508234640bc565d166f8.zip
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 <sergey.senozhatsky@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r--fs/reiserfs/inode.c1
1 files changed, 1 insertions, 0 deletions
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);