Initialise all the fields separately in vattr_null since on the alpha
they are not all the same width.
This commit is contained in:
parent
52c008e810
commit
7a6c46b55a
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
|
||||
* $Id: vfs_subr.c,v 1.157 1998/06/21 18:02:43 bde Exp $
|
||||
* $Id: vfs_subr.c,v 1.158 1998/07/11 07:45:43 bde Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -354,13 +354,22 @@ vattr_null(vap)
|
||||
vap->va_type = VNON;
|
||||
vap->va_size = VNOVAL;
|
||||
vap->va_bytes = VNOVAL;
|
||||
vap->va_mode = vap->va_nlink = vap->va_uid = vap->va_gid =
|
||||
vap->va_fsid = vap->va_fileid =
|
||||
vap->va_blocksize = vap->va_rdev =
|
||||
vap->va_atime.tv_sec = vap->va_atime.tv_nsec =
|
||||
vap->va_mtime.tv_sec = vap->va_mtime.tv_nsec =
|
||||
vap->va_ctime.tv_sec = vap->va_ctime.tv_nsec =
|
||||
vap->va_flags = vap->va_gen = VNOVAL;
|
||||
vap->va_mode = VNOVAL;
|
||||
vap->va_nlink = VNOVAL;
|
||||
vap->va_uid = VNOVAL;
|
||||
vap->va_gid = VNOVAL;
|
||||
vap->va_fsid = VNOVAL;
|
||||
vap->va_fileid = VNOVAL;
|
||||
vap->va_blocksize = VNOVAL;
|
||||
vap->va_rdev = VNOVAL;
|
||||
vap->va_atime.tv_sec = VNOVAL;
|
||||
vap->va_atime.tv_nsec = VNOVAL;
|
||||
vap->va_mtime.tv_sec = VNOVAL;
|
||||
vap->va_mtime.tv_nsec = VNOVAL;
|
||||
vap->va_ctime.tv_sec = VNOVAL;
|
||||
vap->va_ctime.tv_nsec = VNOVAL;
|
||||
vap->va_flags = VNOVAL;
|
||||
vap->va_gen = VNOVAL;
|
||||
vap->va_vaflags = 0;
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
|
||||
* $Id: vfs_subr.c,v 1.157 1998/06/21 18:02:43 bde Exp $
|
||||
* $Id: vfs_subr.c,v 1.158 1998/07/11 07:45:43 bde Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -354,13 +354,22 @@ vattr_null(vap)
|
||||
vap->va_type = VNON;
|
||||
vap->va_size = VNOVAL;
|
||||
vap->va_bytes = VNOVAL;
|
||||
vap->va_mode = vap->va_nlink = vap->va_uid = vap->va_gid =
|
||||
vap->va_fsid = vap->va_fileid =
|
||||
vap->va_blocksize = vap->va_rdev =
|
||||
vap->va_atime.tv_sec = vap->va_atime.tv_nsec =
|
||||
vap->va_mtime.tv_sec = vap->va_mtime.tv_nsec =
|
||||
vap->va_ctime.tv_sec = vap->va_ctime.tv_nsec =
|
||||
vap->va_flags = vap->va_gen = VNOVAL;
|
||||
vap->va_mode = VNOVAL;
|
||||
vap->va_nlink = VNOVAL;
|
||||
vap->va_uid = VNOVAL;
|
||||
vap->va_gid = VNOVAL;
|
||||
vap->va_fsid = VNOVAL;
|
||||
vap->va_fileid = VNOVAL;
|
||||
vap->va_blocksize = VNOVAL;
|
||||
vap->va_rdev = VNOVAL;
|
||||
vap->va_atime.tv_sec = VNOVAL;
|
||||
vap->va_atime.tv_nsec = VNOVAL;
|
||||
vap->va_mtime.tv_sec = VNOVAL;
|
||||
vap->va_mtime.tv_nsec = VNOVAL;
|
||||
vap->va_ctime.tv_sec = VNOVAL;
|
||||
vap->va_ctime.tv_nsec = VNOVAL;
|
||||
vap->va_flags = VNOVAL;
|
||||
vap->va_gen = VNOVAL;
|
||||
vap->va_vaflags = 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user