summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2003-04-09 17:41:46 +0000
committermike <mike@FreeBSD.org>2003-04-09 17:41:46 +0000
commit3ea200b250b81b61bd52f8274a5912e5ce208ad3 (patch)
treed2dfefc5f7e245c5e1b54774cc48684f46c7fa93 /sys
parentc7f361e3bc9946f50a851099987a4c1fa802051d (diff)
downloadFreeBSD-src-3ea200b250b81b61bd52f8274a5912e5ce208ad3.zip
FreeBSD-src-3ea200b250b81b61bd52f8274a5912e5ce208ad3.tar.gz
Add prototypes for change_root() and change_dir().
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/vnode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index 2327ca2..ee2b22e 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -610,6 +610,8 @@ int cache_lookup(struct vnode *dvp, struct vnode **vpp,
void cache_purge(struct vnode *vp);
void cache_purgevfs(struct mount *mp);
int cache_leaf_test(struct vnode *vp);
+int change_dir(struct vnode *vp, struct thread *td);
+int change_root(struct vnode *vp, struct thread *td);
void cvtstat(struct stat *st, struct ostat *ost);
void cvtnstat(struct stat *sb, struct nstat *nsb);
int getnewvnode(const char *tag, struct mount *mp, vop_t **vops,
OpenPOWER on IntegriCloud