summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/nullfs/null_vfsops.c5
-rw-r--r--sys/fs/umapfs/umap_vfsops.c4
2 files changed, 7 insertions, 2 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
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