projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da5cabf
)
fix reiserfs_evict_inode end_writeback second call
author
Sergey Senozhatsky
<sergey.senozhatsky@gmail.com>
Wed, 11 Aug 2010 11:07:01 +0000
(14:07 +0300)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 18 Aug 2010 04:58:57 +0000
(
00:58
-0400)
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>
fs/reiserfs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/reiserfs/inode.c
b/fs/reiserfs/inode.c
index ae35413dcbe1322a0ace18dbff0688138f585764..caa758377d66b8ba5530d029635d8cdfa98048ba 100644
(file)
--- 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);