cvs commit: src/sys/kern vfs_vnops.c

Konstantin Belousov kib at
Sat Sep 20 19:48:43 UTC 2008

kib         2008-09-20 19:48:24 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_vnops.c 
  SVN rev 183213 on 2008-09-20 19:48:24Z by kib
  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
  Submitted by:   Jaakko Heinonen <jh saunalahti fi>
  Discussed on:   freebsd-fs
  MFC after:      1 month
  Revision  Changes    Path
  1.267     +2 -0      src/sys/kern/vfs_vnops.c

More information about the cvs-all mailing list