cvs commit: src/sys/ufs/ffs ffs_snapshot.c

Jeff Roberson jeff at
Sun Apr 3 05:03:45 PDT 2005

jeff        2005-04-03 12:03:44 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ffs          ffs_snapshot.c 
   - Use M_ZERO rather than explicitly calling bzero().
   - Don't intermingle direct calls to lockmgr and indirect calls through
     VOPs.  This will be important in the future.
   - Dont lock the devvp's interlock just to release it on the next line by
     passing LK_INTERLOCK to lockmgr.
   - Restructure ffs_snapshot_unmount so we don't call free() with the
     devvp's interlock locked.
  Revision  Changes    Path
  1.103     +13 -13    src/sys/ufs/ffs/ffs_snapshot.c

More information about the cvs-all mailing list