HomeFreeBSD

Initialize va_rdev to NODEV and va_fsid to VNOVAL before the
rS183213Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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

Details

Provenance
kibAuthored on
Parents
rS183212: Initialize va_flags and va_filerev properly in VOP_GETATTR(). Don't
Branches
Unknown
Tags
Unknown

Event Timeline