orphan.c (527491885554002837b5742202adc0ab5f536e54) | orphan.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. --- 885 unchanged lines hidden (view full) --- 894 895 /* Check no-orphans flag and skip this if no orphans */ 896 if (c->no_orphs) 897 return 0; 898 899 for (lnum = c->orph_first; lnum <= c->orph_last; lnum++) { 900 struct ubifs_scan_leb *sleb; 901 | 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. --- 885 unchanged lines hidden (view full) --- 894 895 /* Check no-orphans flag and skip this if no orphans */ 896 if (c->no_orphs) 897 return 0; 898 899 for (lnum = c->orph_first; lnum <= c->orph_last; lnum++) { 900 struct ubifs_scan_leb *sleb; 901 |
902 sleb = ubifs_scan(c, lnum, 0, c->dbg_buf); | 902 sleb = ubifs_scan(c, lnum, 0, c->dbg->buf); |
903 if (IS_ERR(sleb)) { 904 err = PTR_ERR(sleb); 905 break; 906 } 907 908 err = dbg_read_orphans(ci, sleb); 909 ubifs_scan_destroy(sleb); 910 if (err) --- 52 unchanged lines hidden --- | 903 if (IS_ERR(sleb)) { 904 err = PTR_ERR(sleb); 905 break; 906 } 907 908 err = dbg_read_orphans(ci, sleb); 909 ubifs_scan_destroy(sleb); 910 if (err) --- 52 unchanged lines hidden --- |