Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2008 19:48:24 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_vnops.c
Message-ID:  <200809201948.m8KJmgDh090752@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2008-09-20 19:48:24 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             vfs_vnops.c 
  Log:
  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
  value.
  
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809201948.m8KJmgDh090752>