OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3779473
)
ext4: use 'inode' variable that is already dereferenced
author
Anatol Pomozov
<anatol.pomozov@gmail.com>
Thu, 8 Nov 2012 19:53:35 +0000
(14:53 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Thu, 8 Nov 2012 19:53:35 +0000
(14:53 -0500)
Tested: xfs tests
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/page-io.c
patch
|
blob
|
history
diff --git
a/fs/ext4/page-io.c
b/fs/ext4/page-io.c
index
68e896e
..
0fd16e6
100644
(file)
--- a/
fs/ext4/page-io.c
+++ b/
fs/ext4/page-io.c
@@
-111,7
+111,7
@@
static int ext4_end_io(ext4_io_end_t *io)
inode_dio_done(inode);
/* Wake up anyone waiting on unwritten extent conversion */
if (atomic_dec_and_test(&EXT4_I(inode)->i_unwritten))
- wake_up_all(ext4_ioend_wq(i
o->i
node));
+ wake_up_all(ext4_ioend_wq(inode));
return ret;
}