summaryrefslogtreecommitdiff
path: root/fs/ext4
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2012-11-08 23:53:35 +0400
committerTheodore Ts'o <tytso@mit.edu>2012-11-08 23:53:35 +0400
commit8d8c1825709020c73b5e66f96c114f6a1f6461e7 (patch)
treed7a11ed19e125d8449bf09ad8e3ee7932b667500 /fs/ext4
parent37794732467dd998a34bfce19738ad3ef1f37507 (diff)
downloadlinux-8d8c1825709020c73b5e66f96c114f6a1f6461e7.tar.xz
ext4: use 'inode' variable that is already dereferenced
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>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/page-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c
index 68e896e12a67..0fd16e653ebd 100644
--- 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(io->inode));
+ wake_up_all(ext4_ioend_wq(inode));
return ret;
}