From 98f1c9b062647e119053ac555f7eb5e353d0c465 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 16 Mar 2005 11:20:51 +0000 Subject: Add two arguments to the vfs_hash() KPI so that filesystems which do not have unique hashes (NFS) can also use it. --- sys/fs/cd9660/cd9660_vfsops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/fs/cd9660') diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c index 0246ad5..6d15b21 100644 --- a/sys/fs/cd9660/cd9660_vfsops.c +++ b/sys/fs/cd9660/cd9660_vfsops.c @@ -661,7 +661,7 @@ cd9660_vget_internal(mp, ino, flags, vpp, relocated, isodir) struct cdev *dev; int error; - error = vfs_hash_get(mp, ino, flags, curthread, vpp); + error = vfs_hash_get(mp, ino, flags, curthread, vpp, NULL, NULL); if (error || *vpp != NULL) return (error); @@ -679,7 +679,7 @@ cd9660_vget_internal(mp, ino, flags, vpp, relocated, isodir) ip->i_vnode = vp; ip->i_number = ino; - error = vfs_hash_insert(vp, ino, flags, curthread, vpp); + error = vfs_hash_insert(vp, ino, flags, curthread, vpp, NULL, NULL); if (error || *vpp != NULL) return (error); -- cgit v1.1