diff options
author | peter <peter@FreeBSD.org> | 1997-03-11 11:59:39 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-03-11 11:59:39 +0000 |
commit | 5e2372f7211e467141b4939f21d1f81da257c059 (patch) | |
tree | e8158ebc8b78a9fecf4669c3f4f70905fd33f736 /sbin/restore/restore.h | |
parent | e0e06d68d52707cbac25844a417ab6919613e9eb (diff) | |
download | FreeBSD-src-5e2372f7211e467141b4939f21d1f81da257c059.zip FreeBSD-src-5e2372f7211e467141b4939f21d1f81da257c059.tar.gz |
Import some CSRG 4.4BSD-Lite2 components for sbin onto vendor branch.
(note that some of these have already been imported, this is a no-op)
Diffstat (limited to 'sbin/restore/restore.h')
-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 2202ccd..8dbcee8 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 |