aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index bbaec12..cd16704 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -229,3 +229,9 @@ vfs_read(struct vnode *vp, struct sio_txn *sio)
{
return vp->vops->read(vp, sio);
}
+
+int
+vfs_getattr(struct vnode *vp, struct vattr *vattr)
+{
+ return vp->vops->getattr(vp, vattr);
+}