changeset 4347:65fb0c27d51e

6276786 VOP_GETATTR on ctfs status files should return permissions 0444 (fix lint)
author acruz
date Tue, 29 May 2007 17:10:21 -0700
parents 9468114ab29a
children f06efcce7faa
files usr/src/uts/common/fs/ctfs/ctfs_ctl.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/fs/ctfs/ctfs_ctl.c	Tue May 29 16:00:54 2007 -0700
+++ b/usr/src/uts/common/fs/ctfs/ctfs_ctl.c	Tue May 29 17:10:21 2007 -0700
@@ -122,7 +122,7 @@
  * entry points. It assumes vp->v_data is set
  */
 static int
-ctfs_ctl_common_getattr(vnode_t *vp, vattr_t *vap, int flags, cred_t *cr)
+ctfs_ctl_common_getattr(vnode_t *vp, vattr_t *vap)
 {
 	ctfs_ctlnode_t *ctlnode = vp->v_data;
 
@@ -148,7 +148,7 @@
 {
 	vap->va_mode = 0222;
 
-	return (ctfs_ctl_common_getattr(vp, vap, flags, cr));
+	return (ctfs_ctl_common_getattr(vp, vap));
 }
 
 /*
@@ -160,7 +160,7 @@
 {
 	vap->va_mode = 0444;
 
-	return (ctfs_ctl_common_getattr(vp, vap, flags, cr));
+	return (ctfs_ctl_common_getattr(vp, vap));
 }
 
 /*