Skip to content

Commit

Permalink
fix reiserfs_evict_inode end_writeback second call
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
sergey-senozhatsky authored and Al Viro committed Aug 18, 2010
1 parent da5cabf commit f4ae2fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/reiserfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f4ae2fa

Please sign in to comment.