cvs commit: src/sys/dev/usb ehci.c if_udav.c src/sys/fs/cd9660 cd9660_vfsops.c src/sys/fs/hpfs hpfs_subr.h hpfs_vfsops.c src/sys/fs/msdosfs msdosfs_denode.c src/sys/fs/ntfs ntfs_subr.c src/sys/fs/nullfs null_vnops.c src/sys/fs/nwfs nwfs_node.c ...

Attilio Rao attilio at FreeBSD.org
Thu Jan 24 04:34:30 PST 2008


attilio     2008-01-24 12:34:30 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/usb          ehci.c if_udav.c 
    sys/fs/cd9660        cd9660_vfsops.c 
    sys/fs/hpfs          hpfs_subr.h hpfs_vfsops.c 
    sys/fs/msdosfs       msdosfs_denode.c 
    sys/fs/ntfs          ntfs_subr.c 
    sys/fs/nullfs        null_vnops.c 
    sys/fs/nwfs          nwfs_node.c 
    sys/fs/smbfs         smbfs_node.c 
    sys/fs/udf           udf_vfsops.c 
    sys/fs/unionfs       union_subr.c 
    sys/gnu/fs/ext2fs    ext2_vfsops.c 
    sys/gnu/fs/reiserfs  reiserfs_inode.c 
    sys/kern             kern_lock.c vfs_default.c vfs_mount.c 
                         vfs_subr.c 
    sys/netncp           ncp_conn.c 
    sys/netsmb           smb_conn.c 
    sys/nfs4client       nfs4_idmap.c 
    sys/nfsclient        nfs_node.c 
    sys/sys              buf.h lockmgr.h 
    sys/ufs/ffs          ffs_snapshot.c ffs_vfsops.c ffs_vnops.c 
    sys/ufs/ufs          ufs_extattr.c 
  Log:
  Cleanup lockmgr interface and exported KPI:
  - Remove the "thread" argument from the lockmgr() function as it is
    always curthread now
  - Axe lockcount() function as it is no longer used
  - Axe LOCKMGR_ASSERT() as it is bogus really and no currently used.
    Hopefully this will be soonly replaced by something suitable for it.
  - Remove the prototype for dumplockinfo() as the function is no longer
    present
  
  Addictionally:
  - Introduce a KASSERT() in lockstatus() in order to let it accept only
    curthread or NULL as they should only be passed
  - Do a little bit of style(9) cleanup on lockmgr.h
  
  KPI results heavilly broken by this change, so manpages and
  FreeBSD_version will be modified accordingly by further commits.
  
  Tested by: matteo
  
  Revision  Changes    Path
  1.58      +2 -2      src/sys/dev/usb/ehci.c
  1.35      +0 -8      src/sys/dev/usb/if_udav.c
  1.154     +1 -1      src/sys/fs/cd9660/cd9660_vfsops.c
  1.5       +2 -2      src/sys/fs/hpfs/hpfs_subr.h
  1.64      +2 -4      src/sys/fs/hpfs/hpfs_vfsops.c
  1.99      +2 -4      src/sys/fs/msdosfs/msdosfs_denode.c
  1.44      +8 -11     src/sys/fs/ntfs/ntfs_subr.c
  1.98      +1 -2      src/sys/fs/nullfs/null_vnops.c
  1.41      +10 -11    src/sys/fs/nwfs/nwfs_node.c
  1.36      +4 -3      src/sys/fs/smbfs/smbfs_node.c
  1.53      +1 -1      src/sys/fs/udf/udf_vfsops.c
  1.99      +1 -1      src/sys/fs/unionfs/union_subr.c
  1.170     +1 -1      src/sys/gnu/fs/ext2fs/ext2_vfsops.c
  1.5       +2 -2      src/sys/gnu/fs/reiserfs/reiserfs_inode.c
  1.120     +7 -24     src/sys/kern/kern_lock.c
  1.140     +3 -4      src/sys/kern/vfs_default.c
  1.273     +3 -3      src/sys/kern/vfs_mount.c
  1.717     +2 -2      src/sys/kern/vfs_subr.c
  1.31      +16 -16    src/sys/netncp/ncp_conn.c
  1.19      +7 -9      src/sys/netsmb/smb_conn.c
  1.6       +3 -3      src/sys/nfs4client/nfs4_idmap.c
  1.87      +1 -1      src/sys/nfsclient/nfs_node.c
  1.199     +3 -3      src/sys/sys/buf.h
  1.58      +4 -27     src/sys/sys/lockmgr.h
  1.140     +20 -26    src/sys/ufs/ffs/ffs_snapshot.c
  1.335     +1 -1      src/sys/ufs/ffs/ffs_vfsops.c
  1.177     +3 -3      src/sys/ufs/ffs/ffs_vnops.c
  1.89      +2 -2      src/sys/ufs/ufs/ufs_extattr.c


More information about the cvs-src mailing list