diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2010-08-11 13:07:01 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-08-18 06:58:57 +0200 |
commit | f4ae2faa40199b97b12f508234640bc565d166f8 (patch) | |
tree | a4441d53e663fe028693bd140c0c1aae26091626 /fs/reiserfs/inode.c | |
parent | Linux 2.6.36-rc1 (diff) | |
download | linux-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.c | 1 |
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); |