summaryrefslogtreecommitdiffstats
path: root/sys/fs/nullfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/nullfs')
-rw-r--r--sys/fs/nullfs/null_vfsops.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
index d6ca211..6ace172 100644
--- a/sys/fs/nullfs/null_vfsops.c
+++ b/sys/fs/nullfs/null_vfsops.c
@@ -391,7 +391,10 @@ nullfs_vptofh(vp, fhp)
struct vnode *vp;
struct fid *fhp;
{
- return VFS_VPTOFH(NULLVPTOLOWERVP(vp), fhp);
+ struct vnode *lvp;
+
+ lvp = NULLVPTOLOWERVP(vp);
+ return VFS_VPTOFH(lvp, fhp);
}
static int
OpenPOWER on IntegriCloud