Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 17:37:17 -0700 (PDT)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ufs/ffs ffs_vfsops.c
Message-ID:  <200104240037.f3O0bHC16393@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
iedowse     2001/04/23 17:37:17 PDT

  Modified files:
    sys/ufs/ffs          ffs_vfsops.c 
  Log:
  Pre-dirpref versions of fsck may zero out the new superblock fields
  fs_contigdirs, fs_avgfilesize and fs_avgfpdir. This could cause
  panics if these fields were zeroed while a filesystem was mounted
  read-only, and then remounted read-write.
  
  Add code to ffs_reload() which copies the fs_contigdirs pointer
  from the previous superblock, and reinitialises fs_avgf* if necessary.
  
  Reviewed by:	mckusick
  
  Revision  Changes    Path
  1.148     +7 -1      src/sys/ufs/ffs/ffs_vfsops.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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