lprops.c (3a20ac2c52b1317f5a5f0bd9cd3cbe8495ddd026) lprops.c (348709bad348d2fd013e1529b4cf5f220717c328)
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.

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

1091
1092 if ((lp->hpos != -1 && heap->arr[lp->hpos]->lnum != lnum) ||
1093 lp != heap->arr[lp->hpos]) {
1094 ubifs_err("bad LPT heap (category %d)", cat);
1095 goto out;
1096 }
1097 }
1098
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.

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

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

--- 226 unchanged lines hidden ---
1100 if (IS_ERR(sleb)) {
1101 /*
1102 * After an unclean unmount, empty and freeable LEBs
1103 * may contain garbage.
1104 */
1105 if (lp->free == c->leb_size) {
1106 ubifs_err("scan errors were in empty LEB "
1107 "- continuing checking");

--- 226 unchanged lines hidden ---