linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Use 'inode' variable that is already dereferenced
@ 2012-10-15 19:06 Anatol Pomozov
  2012-10-15 19:06 ` [PATCH 2/2] ext4: Remove code duplication in ext4_get_block_write_nolock() Anatol Pomozov
  2012-10-16  2:28 ` [PATCH 1/2] Use 'inode' variable that is already dereferenced Zheng Liu
  0 siblings, 2 replies; 9+ messages in thread
From: Anatol Pomozov @ 2012-10-15 19:06 UTC (permalink / raw)
  To: tytso, wenqing.lz, linux-ext4; +Cc: Anatol Pomozov

Tested: xfs tests

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
---
 fs/ext4/page-io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c
index 68e896e..0fd16e6 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;
 }
 
-- 
1.8.0.rc1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-11-09 17:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15 19:06 [PATCH 1/2] Use 'inode' variable that is already dereferenced Anatol Pomozov
2012-10-15 19:06 ` [PATCH 2/2] ext4: Remove code duplication in ext4_get_block_write_nolock() Anatol Pomozov
2012-10-15 19:14   ` Anatol Pomozov
2012-10-16  2:37     ` Zheng Liu
2012-10-16  2:36   ` Zheng Liu
2012-11-08 20:08   ` Theodore Ts'o
2012-11-09 17:29   ` Theodore Ts'o
2012-11-09 17:51     ` Anatol Pomozov
2012-10-16  2:28 ` [PATCH 1/2] Use 'inode' variable that is already dereferenced Zheng Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).