svn commit: r193924 - in head/sys: fs/cd9660 fs/msdosfs
gnu/fs/xfs/FreeBSD kern
Konstantin Belousov
kib at FreeBSD.org
Wed Jun 10 14:24:33 UTC 2009
Author: kib
Date: Wed Jun 10 14:24:31 2009
New Revision: 193924
URL: http://svn.freebsd.org/changeset/base/193924
Log:
Fix r193923 by noting that type of a_fp is struct file *, not int.
It was assumed that r193923 was trivial change that cannot be done
wrong.
MFC after: 2 weeks
Modified:
head/sys/fs/cd9660/cd9660_vnops.c
head/sys/fs/msdosfs/msdosfs_vnops.c
head/sys/gnu/fs/xfs/FreeBSD/xfs_vnops.c
head/sys/kern/uipc_mqueue.c
Modified: head/sys/fs/cd9660/cd9660_vnops.c
==============================================================================
--- head/sys/fs/cd9660/cd9660_vnops.c Wed Jun 10 14:09:05 2009 (r193923)
+++ head/sys/fs/cd9660/cd9660_vnops.c Wed Jun 10 14:24:31 2009 (r193924)
@@ -165,7 +165,7 @@ cd9660_open(ap)
int a_mode;
struct ucred *a_cred;
struct thread *a_td;
- int a_fp;
+ struct file *a_fp;
} */ *ap;
{
struct vnode *vp = ap->a_vp;
Modified: head/sys/fs/msdosfs/msdosfs_vnops.c
==============================================================================
--- head/sys/fs/msdosfs/msdosfs_vnops.c Wed Jun 10 14:09:05 2009 (r193923)
+++ head/sys/fs/msdosfs/msdosfs_vnops.c Wed Jun 10 14:24:31 2009 (r193924)
@@ -214,7 +214,7 @@ msdosfs_open(ap)
int a_mode;
struct ucred *a_cred;
struct thread *a_td;
- int a_fp;
+ struct file *a_fp;
} */ *ap;
{
struct denode *dep = VTODE(ap->a_vp);
Modified: head/sys/gnu/fs/xfs/FreeBSD/xfs_vnops.c
==============================================================================
--- head/sys/gnu/fs/xfs/FreeBSD/xfs_vnops.c Wed Jun 10 14:09:05 2009 (r193923)
+++ head/sys/gnu/fs/xfs/FreeBSD/xfs_vnops.c Wed Jun 10 14:24:31 2009 (r193924)
@@ -198,7 +198,7 @@ _xfs_open(
int a_mode;
struct ucred *a_cred;
struct thread *a_td;
- int a_fp;
+ struct file *a_fp;
} */ *ap)
{
int error;
Modified: head/sys/kern/uipc_mqueue.c
==============================================================================
--- head/sys/kern/uipc_mqueue.c Wed Jun 10 14:09:05 2009 (r193923)
+++ head/sys/kern/uipc_mqueue.c Wed Jun 10 14:24:31 2009 (r193924)
@@ -1092,7 +1092,7 @@ struct vop_open_args {
int a_mode;
struct ucred *a_cred;
struct thread *a_td;
- int a_fp;
+ struct file *a_fp;
};
#endif
More information about the svn-src-all
mailing list