kernel - Add argument to nvtruncbuf()
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 20 Mar 2012 22:10:02 +0000 (15:10 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 20 Mar 2012 22:10:02 +0000 (15:10 -0700)
commit753df37eb58e35e1d577c069e1975f131caf97d7
tree25100bc5c9d656e9ed774f71cedbc6568fc6a724
parenta261e0e03065569a718f256f111c73f02a9a697a
kernel - Add argument to nvtruncbuf()

* Add a 'trivial' arg to nvtruncbuf() that works similarly to
  nvextendbuf().

  This will allow hammer2 to tell nvtruncbuf() not to mess with the
  buffer that overlaps EOF, so hammer2 can mess with it atomically.
sys/kern/vfs_vm.c
sys/sys/vnode.h
sys/vfs/hammer/hammer_inode.c
sys/vfs/hammer/hammer_vnops.c
sys/vfs/nfs/nfs_bio.c
sys/vfs/puffs/puffs_node.c
sys/vfs/tmpfs/tmpfs_subr.c
sys/vfs/ufs/ffs_inode.c