summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-04-03 21:05:34 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-04-03 21:05:34 +0000
commit80173a4d2ee782033a4b817f168ed03a20ad678a (patch)
tree4988b3c75065e7607fd92f1777ce1da2e7e13b62
parent362c57474bc6db7d73c2c2800ca13b4711f80768 (diff)
(diskfs_cached_lookup): New declaration.
-rw-r--r--libdiskfs/diskfs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h
index 9025d6b8..4a06f47d 100644
--- a/libdiskfs/diskfs.h
+++ b/libdiskfs/diskfs.h
@@ -907,6 +907,10 @@ error_t diskfs_dirrewrite (struct node *dp, struct node *oldnp,
error_t diskfs_dirremove (struct node *dp, struct node *np,
char *name, struct dirstat *ds);
+/* Return the node corresponding to CACHE_ID. Return null
+ if no such node exists. */
+struct node *diskfs_cached_lookup (int cache_id);
+
/* Create a new node. Give it MODE; if that includes IFDIR, also
initialize `.' and `..' in the new directory. Return the node in NPP.
CRED identifies the user responsible for the call. If NAME is nonzero,