From 4a21bdeceebcd7165cdfaa2b146ca510527c21f4 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Wed, 9 Aug 2017 20:06:08 -0500 Subject: [PATCH] SOLARIS: Make gafs_fid take a struct fid* Currently, gafs_fid takes a 'struct fid **' argument, and gives it to afs_fid(). But afs_fid() takes a 'struct fid *', and the Solaris vop_fid callback also takes a 'struct fid *'. Just change the argument to 'struct fid *' to get rid of compiler warnings for both of these mismatches. Change-Id: Ie937e4b24ef51265a5957666eda496661f3943ad Reviewed-on: https://gerrit.openafs.org/12697 Reviewed-by: Andrew Deason Tested-by: Andrew Deason --- src/afs/SOLARIS/osi_vnodeops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/SOLARIS/osi_vnodeops.c b/src/afs/SOLARIS/osi_vnodeops.c index a765449616..e6e9623383 100644 --- a/src/afs/SOLARIS/osi_vnodeops.c +++ b/src/afs/SOLARIS/osi_vnodeops.c @@ -1570,7 +1570,7 @@ gafs_inactive(struct vnode *vp, afs_ucred_t *acred) static int -gafs_fid(struct vnode *vp, struct fid **fidpp) +gafs_fid(struct vnode *vp, struct fid *fidpp) { int code; AFS_GLOCK();