git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'idle-release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb...
[pandora-kernel.git]
/
fs
/
ubifs
/
lpt_commit.c
diff --git
a/fs/ubifs/lpt_commit.c
b/fs/ubifs/lpt_commit.c
index
d12535b
..
5c90dec
100644
(file)
--- a/
fs/ubifs/lpt_commit.c
+++ b/
fs/ubifs/lpt_commit.c
@@
-705,6
+705,9
@@
static int make_tree_dirty(struct ubifs_info *c)
struct ubifs_pnode *pnode;
pnode = pnode_lookup(c, 0);
+ if (IS_ERR(pnode))
+ return PTR_ERR(pnode);
+
while (pnode) {
do_make_pnode_dirty(c, pnode);
pnode = next_pnode_to_dirty(c, pnode);