All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] [PATCH 1/1] fixes a dangerous typo
@ 2009-07-13  3:38 Wengang Wang
  2009-07-21  0:38 ` Joel Becker
  0 siblings, 1 reply; 3+ messages in thread
From: Wengang Wang @ 2009-07-13  3:38 UTC (permalink / raw)
  To: ocfs2-devel

Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
---
 fs/ocfs2/aops.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c
index b730010..a10c989 100644
--- a/fs/ocfs2/aops.c
+++ b/fs/ocfs2/aops.c
@@ -1397,7 +1397,7 @@ static int ocfs2_write_cluster(struct address_space *mapping,
 		if (tmpret) {
 			mlog_errno(tmpret);
 			if (ret == 0)
-				tmpret = ret;
+				ret = tmpret;
 		}
 	}
 
-- 
1.6.2.5

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

end of thread, other threads:[~2009-07-21  1:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-13  3:38 [Ocfs2-devel] [PATCH 1/1] fixes a dangerous typo Wengang Wang
2009-07-21  0:38 ` Joel Becker
2009-07-21  1:55   ` Wengang Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.