Remove the vpp (returned underlying device vnode) argument from VOP_BMAP().
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 13 Aug 2007 17:31:57 +0000 (17:31 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 13 Aug 2007 17:31:57 +0000 (17:31 +0000)
commit08daea96d5363623d97d234947462e820b910270
tree5586dce28bcc24eeb1320f51607704dfde540f11
parent83269e7d86c3a7f8eb97f1d55ceb355996d959c7
Remove the vpp (returned underlying device vnode) argument from VOP_BMAP().
VOP_BMAP() may now only be used to determine linearity and clusterability of
the blocks underlying a filesystem object.  The meaning of the returned
block number (other then being contiguous as a means of indicating
linearity or clusterability) is now up to the VFS.

This removes visibility into the device(s) underlying a filesystem from
the rest of the kernel.
30 files changed:
sys/emulation/linux/i386/linprocfs/linprocfs_vnops.c
sys/kern/vfs_bio.c
sys/kern/vfs_cluster.c
sys/kern/vfs_vopops.c
sys/sys/vfsops.h
sys/vfs/deadfs/dead_vnops.c
sys/vfs/fifofs/fifo_vnops.c
sys/vfs/gnu/ext2fs/ext2_bmap.c
sys/vfs/gnu/ext2fs/ext2_vnops.c
sys/vfs/hpfs/hpfs_vnops.c
sys/vfs/isofs/cd9660/cd9660_bmap.c
sys/vfs/isofs/cd9660/cd9660_lookup.c
sys/vfs/isofs/cd9660/cd9660_vnops.c
sys/vfs/mfs/mfs_vnops.c
sys/vfs/msdosfs/msdosfs_vnops.c
sys/vfs/nfs/nfs_serv.c
sys/vfs/nfs/nfs_vnops.c
sys/vfs/ntfs/ntfs_vnops.c
sys/vfs/nwfs/nwfs_vnops.c
sys/vfs/procfs/procfs_vnops.c
sys/vfs/smbfs/smbfs_vnops.c
sys/vfs/specfs/spec_vnops.c
sys/vfs/udf/udf_vnops.c
sys/vfs/ufs/ffs_rawread.c
sys/vfs/ufs/ffs_softdep.c
sys/vfs/ufs/ufs_bmap.c
sys/vfs/ufs/ufs_readwrite.c
sys/vfs/ufs/ufs_vnops.c
sys/vfs/union/union_vnops.c
sys/vm/vnode_pager.c