projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6afaf8a
)
UBIFS: fix return code in check_leaf
author
Roel Kluin
<roel.kluin@gmail.com>
Mon, 7 Dec 2009 13:21:45 +0000
(14:21 +0100)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Tue, 8 Dec 2009 12:24:00 +0000
(14:24 +0200)
Return the PTR_ERR of the correct pointer. This fixes the debugging code.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/debug.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ubifs/debug.c
b/fs/ubifs/debug.c
index dbc093afd946c98fee961b68a0131054edbf5014..8a771c59ac3eab2e460f5d6f337155215ee014a2 100644
(file)
--- a/
fs/ubifs/debug.c
+++ b/
fs/ubifs/debug.c
@@
-2014,7
+2014,7
@@
static int check_leaf(struct ubifs_info *c, struct ubifs_zbranch *zbr,
inum = key_inum_flash(c, &dent->key);
fscki1 = read_add_inode(c, priv, inum);
if (IS_ERR(fscki1)) {
- err = PTR_ERR(fscki);
+ err = PTR_ERR(fscki
1
);
ubifs_err("error %d while processing entry node and "
"trying to find parent inode node %lu",
err, (unsigned long)inum);