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:
895fb49
)
jffs2: Fix error return in jffs2_do_read_inode_internal()
author
Roel Kluin
<roel.kluin@gmail.com>
Thu, 12 Nov 2009 17:09:48 +0000
(18:09 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 30 Nov 2009 09:52:32 +0000
(09:52 +0000)
The returned error should stay negative
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
fs/jffs2/readinode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/jffs2/readinode.c
b/fs/jffs2/readinode.c
index 1a80301004b8d82806c6dcdbf90a9bb4cbd71d5a..9c26738ef047f8874756a760e221b0fcb550f335 100644
(file)
--- a/
fs/jffs2/readinode.c
+++ b/
fs/jffs2/readinode.c
@@
-1284,7
+1284,7
@@
static int jffs2_do_read_inode_internal(struct jffs2_sb_info *c,
f->target = NULL;
mutex_unlock(&f->sem);
jffs2_do_clear_inode(c, f);
- return
-
ret;
+ return ret;
}
f->target[je32_to_cpu(latest_node->csize)] = '\0';