diff options
author | kib <kib@FreeBSD.org> | 2008-09-20 19:48:24 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2008-09-20 19:48:24 +0000 |
commit | 570463af80d554804270a483126c2a0a8524af2e (patch) | |
tree | 3f7ea0b742b265ca60e200c274170ae5c30a4c02 /sys/kern/uipc_mqueue.c | |
parent | 81d455e702a0846e60a6a9b8419b26740c510752 (diff) | |
download | FreeBSD-src-570463af80d554804270a483126c2a0a8524af2e.zip FreeBSD-src-570463af80d554804270a483126c2a0a8524af2e.tar.gz |
Initialize va_rdev to NODEV and va_fsid to VNOVAL before the
VOP_GETATTR() call in vn_stat(). Thus if a file system doesn't
initialize those fields in VOP_GETATTR() they will have a sane default
value.
Submitted by: Jaakko Heinonen <jh saunalahti fi>
Discussed on: freebsd-fs
MFC after: 1 month
Diffstat (limited to 'sys/kern/uipc_mqueue.c')
0 files changed, 0 insertions, 0 deletions