Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105545426
D37359.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D37359.diff
View Options
diff --git a/sys/fs/nullfs/null_vnops.c b/sys/fs/nullfs/null_vnops.c
--- a/sys/fs/nullfs/null_vnops.c
+++ b/sys/fs/nullfs/null_vnops.c
@@ -528,7 +528,7 @@
}
}
- return (null_bypass((struct vop_generic_args *)ap));
+ return (null_bypass(&ap->a_gen));
}
/*
@@ -539,7 +539,7 @@
{
int error;
- if ((error = null_bypass((struct vop_generic_args *)ap)) != 0)
+ if ((error = null_bypass(&ap->a_gen)) != 0)
return (error);
ap->a_sb->st_dev = ap->a_vp->v_mount->mnt_stat.f_fsid.val[0];
@@ -551,7 +551,7 @@
{
int error;
- if ((error = null_bypass((struct vop_generic_args *)ap)) != 0)
+ if ((error = null_bypass(&ap->a_gen)) != 0)
return (error);
ap->a_vap->va_fsid = ap->a_vp->v_mount->mnt_stat.f_fsid.val[0];
@@ -584,7 +584,7 @@
break;
}
}
- return (null_bypass((struct vop_generic_args *)ap));
+ return (null_bypass(&ap->a_gen));
}
static int
@@ -610,7 +610,7 @@
break;
}
}
- return (null_bypass((struct vop_generic_args *)ap));
+ return (null_bypass(&ap->a_gen));
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 18, 12:00 PM (14 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15486230
Default Alt Text
D37359.diff (1 KB)
Attached To
Mode
D37359: nullfs: Use an a_gen field to cast to vop_generic_args
Attached
Detach File
Event Timeline
Log In to Comment