projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44d8e4e
)
ocfs2: Fix error return in ocfs2_write_cluster()
author
Wengang Wang
<wen.gang.wang@oracle.com>
Mon, 13 Jul 2009 03:38:23 +0000
(11:38 +0800)
committer
Joel Becker
<joel.becker@oracle.com>
Tue, 21 Jul 2009 00:32:55 +0000
(17:32 -0700)
A typo caused ocfs2_write_cluster() to return 0 in some error cases.
Fix it.
Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/aops.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/aops.c
b/fs/ocfs2/aops.c
index b2c52b3a1484f1c57c4b098bf9706fe21c186ac0..25aced3b0c7d11006f1c4d396e9bc2b8e4ffa72d 100644
(file)
--- a/
fs/ocfs2/aops.c
+++ b/
fs/ocfs2/aops.c
@@
-1301,7
+1301,7
@@
static int ocfs2_write_cluster(struct address_space *mapping,
if (tmpret) {
mlog_errno(tmpret);
if (ret == 0)
-
tmpret =
ret;
+
ret = tmp
ret;
}
}