lprops.c (7fbb8759eff9a348efa5f352ffaa51c364837c4b) lprops.c (17c2f9f85c896b48a5d74a9155d99ec5b241a0e6)
1/*
2 * This file is part of UBIFS.
3 *
4 * Copyright (C) 2006-2008 Nokia Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.

--- 1074 unchanged lines hidden (view full) ---

1083
1084 if ((lp->hpos != -1 && heap->arr[lp->hpos]->lnum != lnum) ||
1085 lp != heap->arr[lp->hpos]) {
1086 ubifs_err("bad LPT heap (category %d)", cat);
1087 goto out;
1088 }
1089 }
1090
1/*
2 * This file is part of UBIFS.
3 *
4 * Copyright (C) 2006-2008 Nokia Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.

--- 1074 unchanged lines hidden (view full) ---

1083
1084 if ((lp->hpos != -1 && heap->arr[lp->hpos]->lnum != lnum) ||
1085 lp != heap->arr[lp->hpos]) {
1086 ubifs_err("bad LPT heap (category %d)", cat);
1087 goto out;
1088 }
1089 }
1090
1091 sleb = ubifs_scan(c, lnum, 0, c->dbg_buf);
1091 sleb = ubifs_scan(c, lnum, 0, c->dbg->buf);
1092 if (IS_ERR(sleb)) {
1093 /*
1094 * After an unclean unmount, empty and freeable LEBs
1095 * may contain garbage.
1096 */
1097 if (lp->free == c->leb_size) {
1098 ubifs_err("scan errors were in empty LEB "
1099 "- continuing checking");

--- 226 unchanged lines hidden ---
1092 if (IS_ERR(sleb)) {
1093 /*
1094 * After an unclean unmount, empty and freeable LEBs
1095 * may contain garbage.
1096 */
1097 if (lp->free == c->leb_size) {
1098 ubifs_err("scan errors were in empty LEB "
1099 "- continuing checking");

--- 226 unchanged lines hidden ---