diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2008-09-20 19:46:45 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2008-09-20 19:46:45 +0000 |
commit | 86dacdfe2b2ec55ab6386053534f87149162b433 (patch) | |
tree | e507302b4dc7a5cad58e30c582aa41fa9949dc2f /sys/kern/uipc_mqueue.c | |
parent | ea60a5f526cc605afac455c00e9f1f15a6d05ca4 (diff) | |
download | src-86dacdfe2b2ec55ab6386053534f87149162b433.tar.gz src-86dacdfe2b2ec55ab6386053534f87149162b433.zip |
Initialize va_flags and va_filerev properly in VOP_GETATTR(). Don't
initialize va_vaflags and va_spare because they are not part of the
VOP_GETATTR() API. Also don't initialize birthtime to ctime or zero.
Submitted by: Jaakko Heinonen <jh saunalahti fi>
Reviewed by: bde
Discussed on: freebsd-fs
MFC after: 1 month
Notes
Notes:
svn path=/head/; revision=183212
Diffstat (limited to 'sys/kern/uipc_mqueue.c')
-rw-r--r-- | sys/kern/uipc_mqueue.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/uipc_mqueue.c b/sys/kern/uipc_mqueue.c index 3b73f400e53d..fc8a20f4cbcd 100644 --- a/sys/kern/uipc_mqueue.c +++ b/sys/kern/uipc_mqueue.c @@ -1184,7 +1184,6 @@ mqfs_getattr(struct vop_getattr_args *ap) vap->va_rdev = 0; vap->va_bytes = 0; vap->va_filerev = 0; - vap->va_vaflags = 0; return (error); } |