From: Anatol Pomozov Date: Thu, 8 Nov 2012 19:53:35 +0000 (-0500) Subject: ext4: use 'inode' variable that is already dereferenced X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8d8c1825709020c73b5e66f96c114f6a1f6461e7;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ext4: use 'inode' variable that is already dereferenced Tested: xfs tests Reviewed-by: Zheng Liu Signed-off-by: Anatol Pomozov Signed-off-by: "Theodore Ts'o" --- 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; }