diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2012-11-08 14:53:35 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-11-08 14:53:35 -0500 |
commit | 8d8c1825709020c73b5e66f96c114f6a1f6461e7 (patch) | |
tree | d7a11ed19e125d8449bf09ad8e3ee7932b667500 | |
parent | 37794732467dd998a34bfce19738ad3ef1f37507 (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>
-rw-r--r-- | fs/ext4/page-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c index 68e896e12a6..0fd16e653eb 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; } |