Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2005 07:03:09 +0000 (UTC)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/devfs devfs.h devfs_rule.c devfs_vfsops.c
Message-ID:  <200509240703.j8O739pu061700@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2005-09-24 07:03:09 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/devfs         devfs.h devfs_rule.c devfs_vfsops.c 
  Log:
  Make rule zero really magical, that way we don't have to do anything
  when we mount and get zero cost if no rules are used in a mountpoint.
  
  Add code to deref rules on unmount.
  
  Switch from SLIST to TAILQ.
  
  Drop SYSINIT, use SX_SYSINIT and static initializer of TAILQ instead.
  
  Drop goto, a break will do.
  
  Reduce double pointers to single pointers.
  
  Combine reaping and destroying rulesets.
  
  Avoid memory leaks in a some error cases.
  
  Revision  Changes    Path
  1.28      +1 -1      src/sys/fs/devfs/devfs.h
  1.20      +97 -151   src/sys/fs/devfs/devfs_rule.c
  1.48      +1 -1      src/sys/fs/devfs/devfs_vfsops.c



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