Message ID | 1341753582-3943-2-git-send-email-Julia.Lawall@lip6.fr |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/ubifs/orphan.c b/fs/ubifs/orphan.c index b02734d..4b7860a 100644 --- a/fs/ubifs/orphan.c +++ b/fs/ubifs/orphan.c @@ -176,7 +176,7 @@ int ubifs_orphan_start_commit(struct ubifs_info *c) *last = orphan; last = &orphan->cnext; } - *last = orphan->cnext; + *last = NULL; c->cmt_orphans = c->new_orphans; c->new_orphans = 0; dbg_cmt("%d orphans to commit", c->cmt_orphans);