diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1997-03-11 11:59:39 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1997-03-11 11:59:39 +0000 |
| commit | 39e5614a71722d9debba61a3bc51154bc340f191 (patch) | |
| tree | 234926809e4a9479763b706da93a39f434503f10 /sbin/restore | |
| parent | adf6ad9e6995cbd8d78602af6c0ca20cadb497a0 (diff) | |
| parent | 1811bdf372ee99d51c030b145d1a384cbcf1a6be (diff) | |
Notes
Diffstat (limited to 'sbin/restore')
| -rw-r--r-- | sbin/restore/restore.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/restore/restore.h b/sbin/restore/restore.h index 2202ccdc31fa..8dbcee81c01e 100644 --- a/sbin/restore/restore.h +++ b/sbin/restore/restore.h @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)restore.h 8.2 (Berkeley) 1/21/94 + * @(#)restore.h 8.3 (Berkeley) 9/13/94 */ /* @@ -53,7 +53,7 @@ extern int yflag; /* always try to recover from tape errors */ * Global variables */ extern char *dumpmap; /* map of inodes on this dump tape */ -extern char *clrimap; /* map of inodes to be deleted */ +extern char *usedinomap; /* map of inodes that are in use on this fs */ extern ino_t maxino; /* highest numbered inode in this file system */ extern long dumpnum; /* location of the dump on this tape */ extern long volno; /* current volume being read */ @@ -129,6 +129,8 @@ typedef struct rstdirdesc RST_DIR; */ #define TSTINO(ino, map) \ (map[(u_int)((ino) - 1) / NBBY] & (1 << ((u_int)((ino) - 1) % NBBY))) +#define SETINO(ino, map) \ + map[(u_int)((ino) - 1) / NBBY] |= 1 << ((u_int)((ino) - 1) % NBBY) #define dprintf if (dflag) fprintf #define vprintf if (vflag) fprintf |
