diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2010-08-11 14:07:01 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-08-18 00:58:57 -0400 |
commit | f4ae2faa40199b97b12f508234640bc565d166f8 (patch) | |
tree | a4441d53e663fe028693bd140c0c1aae26091626 /fs/reiserfs | |
parent | da5cabf80e2433131bf0ed8993abc0f7ea618c73 (diff) | |
download | talos-op-linux-f4ae2faa40199b97b12f508234640bc565d166f8.tar.gz talos-op-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 'fs/reiserfs')
-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); |