summaryrefslogtreecommitdiffstats
path: root/sbin/restore/restore.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/restore/restore.h')
-rw-r--r--sbin/restore/restore.h6
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
OpenPOWER on IntegriCloud