cvs commit: src/sbin/dump traverse.c

Ian Dowse iedowse at FreeBSD.org
Tue Nov 4 06:20:15 PST 2003


iedowse     2003/11/04 06:20:14 PST

  FreeBSD src repository

  Modified files:
    sbin/dump            traverse.c 
  Log:
  In mapdirs(), do not use the `dp' inode pointer after searchdir()
  has been called, since it points to a shared inode buffer that may
  be overwritten. The two cases where `dp' was used incorrectly appear
  to have been overlooked when "nodump" inheritance was first added
  in revision 1.12.
  
  This is reported to correct propagation of the nodump flag on
  directories that are larger than one block in size.
  
  PR:             bin/58912
  Submitted by:   Volker Paepcke <vpaepcke at incore.de>
  MFC after:      1 week
  
  Revision  Changes    Path
  1.33      +3 -3      src/sbin/dump/traverse.c


More information about the cvs-src mailing list