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>
This commit is contained in:
parent
da5cabf80e
commit
f4ae2faa40
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ void reiserfs_evict_inode(struct inode *inode)
|
||||||
dquot_drop(inode);
|
dquot_drop(inode);
|
||||||
inode->i_blocks = 0;
|
inode->i_blocks = 0;
|
||||||
reiserfs_write_unlock_once(inode->i_sb, depth);
|
reiserfs_write_unlock_once(inode->i_sb, depth);
|
||||||
|
return;
|
||||||
|
|
||||||
no_delete:
|
no_delete:
|
||||||
end_writeback(inode);
|
end_writeback(inode);
|
||||||
|
|
Loading…
Reference in a new issue