diff options
author | kib <kib@FreeBSD.org> | 2008-09-20 19:46:45 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-09-20 19:46:45 +0000 |
commit | 81d455e702a0846e60a6a9b8419b26740c510752 (patch) | |
tree | e507302b4dc7a5cad58e30c582aa41fa9949dc2f /sys/kern | |
parent | c6232cabbebca4c41ec2707ec6848c87507d2929 (diff) | |
download | FreeBSD-src-81d455e702a0846e60a6a9b8419b26740c510752.zip FreeBSD-src-81d455e702a0846e60a6a9b8419b26740c510752.tar.gz |
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
Diffstat (limited to 'sys/kern')
-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 3b73f40..fc8a20f 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); } |