summaryrefslogtreecommitdiff
path: root/libdiskfs/priv.h
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1997-02-06 08:43:06 +0000
committerMiles Bader <miles@gnu.org>1997-02-06 08:43:06 +0000
commitadc4ee76d15aa4ad3205b7a75d8e39c4e8ead89f (patch)
tree953c99b022b861f27ed6aed74480d484083d1951 /libdiskfs/priv.h
parentcbcd397ee493998e46b8c46b606b7adfb738e8d6 (diff)
(struct diskfs_trans_callback_cookie2):
New type.
Diffstat (limited to 'libdiskfs/priv.h')
-rw-r--r--libdiskfs/priv.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/libdiskfs/priv.h b/libdiskfs/priv.h
index fb56af65..3bd91767 100644
--- a/libdiskfs/priv.h
+++ b/libdiskfs/priv.h
@@ -1,5 +1,5 @@
/* Private declarations for fileserver library
- Copyright (C) 1994, 1995, 1996 Free Software Foundation
+ Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -85,6 +85,14 @@ extern spin_lock_t _diskfs_control_lock;
extern fshelp_fetch_root_callback1_t _diskfs_translator_callback1;
extern fshelp_fetch_root_callback2_t _diskfs_translator_callback2;
+/* The form of the value pointed to by COOKIE2 expected by
+ _diskfs_translator_callback2_fn. */
+struct diskfs_trans_callback_cookie2
+{
+ mach_port_t dotdot; /* The dot dot node. */
+ unsigned depth; /* How high DOTDOT is. */
+};
+
/* This macro locks the node associated with PROTID, and then
evaluates the expression OPERATION; then it syncs the inode
(without waiting) and unlocks everything, and then returns