summaryrefslogtreecommitdiffstats
path: root/sys/fs/umapfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/umapfs')
-rw-r--r--sys/fs/umapfs/umap_vfsops.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/fs/umapfs/umap_vfsops.c b/sys/fs/umapfs/umap_vfsops.c
index 17bee46..5fb2d01 100644
--- a/sys/fs/umapfs/umap_vfsops.c
+++ b/sys/fs/umapfs/umap_vfsops.c
@@ -418,8 +418,10 @@ umapfs_vptofh(vp, fhp)
struct vnode *vp;
struct fid *fhp;
{
+ struct vnode *lvp;
- return (VFS_VPTOFH(UMAPVPTOLOWERVP(vp), fhp));
+ lvp = UMAPVPTOLOWERVP(vp);
+ return (VFS_VPTOFH(lvp, fhp));
}
static int
OpenPOWER on IntegriCloud