summaryrefslogtreecommitdiffstats
path: root/sys/sys/vnode.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-01-21 14:51:38 +0000
committerkib <kib@FreeBSD.org>2009-01-21 14:51:38 +0000
commit44eef9d9bb82bfa3434a676ef8796afa45b737fc (patch)
tree5e4f9659247270ac18f95245b70228992605c361 /sys/sys/vnode.h
parentdc43531891e4226acd560977e364ab94ea62c9e9 (diff)
downloadFreeBSD-src-44eef9d9bb82bfa3434a676ef8796afa45b737fc.zip
FreeBSD-src-44eef9d9bb82bfa3434a676ef8796afa45b737fc.tar.gz
Move the code from ufs_lookup.c used to do dotdot lookup, into
the helper function. It is supposed to be useful for any filesystem that has to unlock dvp to walk to the ".." entry in lookup routine. Requested by: jhb Tested by: pho MFC after: 1 month
Diffstat (limited to 'sys/sys/vnode.h')
-rw-r--r--sys/sys/vnode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h
index de64090..d6d99ad 100644
--- a/sys/sys/vnode.h
+++ b/sys/sys/vnode.h
@@ -636,6 +636,9 @@ int vn_extattr_set(struct vnode *vp, int ioflg, int attrnamespace,
const char *attrname, int buflen, char *buf, struct thread *td);
int vn_extattr_rm(struct vnode *vp, int ioflg, int attrnamespace,
const char *attrname, struct thread *td);
+int vn_vget_ino(struct vnode *vp, ino_t ino, int lkflags,
+ struct vnode **rvp);
+
int vfs_cache_lookup(struct vop_lookup_args *ap);
void vfs_timestamp(struct timespec *);
void vfs_write_resume(struct mount *mp);
OpenPOWER on IntegriCloud