Date: Thu, 15 Feb 2007 22:08:36 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/hpfs hpfs_vfsops.c hpfs_vnops.c src/sys/fs/msdosfs msdosfs_vfsops.c msdosfs_vnops.c src/sys/fs/ntfs ntfs_vfsops.c ntfs_vnops.c src/sys/fs/nullfs null_vfsops.c null_vnops.c src/sys/fs/udf udf.h udf_vfsops.c ... Message-ID: <200702152208.l1FM8aY7002188@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2007-02-15 22:08:35 UTC FreeBSD src repository Modified files: sys/fs/hpfs hpfs_vfsops.c hpfs_vnops.c sys/fs/msdosfs msdosfs_vfsops.c msdosfs_vnops.c sys/fs/ntfs ntfs_vfsops.c ntfs_vnops.c sys/fs/nullfs null_vfsops.c null_vnops.c sys/fs/udf udf.h udf_vfsops.c udf_vnops.c sys/fs/umapfs umap_vfsops.c umap_vnops.c sys/fs/unionfs union_vfsops.c union_vnops.c sys/gnu/fs/ext2fs ext2_vfsops.c ext2_vnops.c sys/gnu/fs/reiserfs reiserfs_vfsops.c reiserfs_vnops.c sys/gnu/fs/xfs/FreeBSD xfs_mountops.c xfs_vnops.c sys/fs/cd9660 cd9660_vfsops.c cd9660_vnops.c iso.h sys/kern vfs_default.c vfs_export.c vfs_init.c vfs_syscalls.c vnode_if.src sys/nfsserver nfs_serv.c sys/sys mount.h vnode.h sys/ufs/ffs ffs_vfsops.c ffs_vnops.c Log: Move vnode-to-file-handle translation from vfs_vptofh to vop_vptofh method. This way we may support multiple structures in v_data vnode field within one file system without using black magic. Vnode-to-file-handle should be VOP in the first place, but was made VFS operation to keep interface as compatible as possible with SUN's VFS. BTW. Now Solaris also implements vnode-to-file-handle as VOP operation. VFS_VPTOFH() was left for API backward compatibility, but is marked for removal before 8.0-RELEASE. Approved by: mckusick Discussed with: many (on IRC) Tested with: ufs, msdosfs, cd9660, nullfs and zfs Revision Changes Path 1.149 +0 -34 src/sys/fs/cd9660/cd9660_vfsops.c 1.113 +29 -0 src/sys/fs/cd9660/cd9660_vnops.c 1.33 +7 -0 src/sys/fs/cd9660/iso.h 1.59 +0 -18 src/sys/fs/hpfs/hpfs_vfsops.c 1.70 +20 -0 src/sys/fs/hpfs/hpfs_vnops.c 1.162 +0 -17 src/sys/fs/msdosfs/msdosfs_vfsops.c 1.169 +21 -0 src/sys/fs/msdosfs/msdosfs_vnops.c 1.85 +0 -20 src/sys/fs/ntfs/ntfs_vfsops.c 1.60 +22 -0 src/sys/fs/ntfs/ntfs_vnops.c 1.81 +0 -13 src/sys/fs/nullfs/null_vfsops.c 1.93 +10 -0 src/sys/fs/nullfs/null_vnops.c 1.14 +7 -0 src/sys/fs/udf/udf.h 1.47 +0 -23 src/sys/fs/udf/udf_vfsops.c 1.64 +16 -0 src/sys/fs/udf/udf_vnops.c 1.67 +0 -13 src/sys/fs/umapfs/umap_vfsops.c 1.48 +15 -0 src/sys/fs/umapfs/umap_vnops.c 1.82 +0 -8 src/sys/fs/unionfs/union_vfsops.c 1.140 +7 -0 src/sys/fs/unionfs/union_vnops.c 1.161 +0 -22 src/sys/gnu/fs/ext2fs/ext2_vfsops.c 1.107 +25 -0 src/sys/gnu/fs/ext2fs/ext2_vnops.c 1.8 +0 -26 src/sys/gnu/fs/reiserfs/reiserfs_vfsops.c 1.2 +29 -0 src/sys/gnu/fs/reiserfs/reiserfs_vnops.c 1.8 +1 -12 src/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c 1.6 +17 -1 src/sys/gnu/fs/xfs/FreeBSD/xfs_vnops.c 1.136 +11 -0 src/sys/kern/vfs_default.c 1.341 +1 -1 src/sys/kern/vfs_export.c 1.84 +4 -0 src/sys/kern/vfs_init.c 1.430 +2 -2 src/sys/kern/vfs_syscalls.c 1.85 +8 -0 src/sys/kern/vnode_if.src 1.170 +6 -6 src/sys/nfsserver/nfs_serv.c 1.218 +17 -1 src/sys/sys/mount.h 1.321 +1 -0 src/sys/sys/vnode.h 1.325 +0 -22 src/sys/ufs/ffs/ffs_vfsops.c 1.164 +28 -0 src/sys/ufs/ffs/ffs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702152208.l1FM8aY7002188>