aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2012-11-08 14:53:35 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-11-08 14:53:35 -0500
commit8d8c1825709020c73b5e66f96c114f6a1f6461e7 (patch)
treed7a11ed19e125d8449bf09ad8e3ee7932b667500 /fs
parent37794732467dd998a34bfce19738ad3ef1f37507 (diff)
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')
-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)
111 inode_dio_done(inode); 111 inode_dio_done(inode);
112 /* Wake up anyone waiting on unwritten extent conversion */ 112 /* Wake up anyone waiting on unwritten extent conversion */
113 if (atomic_dec_and_test(&EXT4_I(inode)->i_unwritten)) 113 if (atomic_dec_and_test(&EXT4_I(inode)->i_unwritten))
114 wake_up_all(ext4_ioend_wq(io->inode)); 114 wake_up_all(ext4_ioend_wq(inode));
115 return ret; 115 return ret;
116} 116}
117 117