diff options
author | phk <phk@FreeBSD.org> | 2005-03-16 11:20:51 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-03-16 11:20:51 +0000 |
commit | 98f1c9b062647e119053ac555f7eb5e353d0c465 (patch) | |
tree | 4ec08b592ae3dc7f2da72161be0120f5fe447736 /sys/isofs | |
parent | 6552218237e46878fe727ca080ccc8a0f753e6df (diff) | |
download | FreeBSD-src-98f1c9b062647e119053ac555f7eb5e353d0c465.zip FreeBSD-src-98f1c9b062647e119053ac555f7eb5e353d0c465.tar.gz |
Add two arguments to the vfs_hash() KPI so that filesystems which do
not have unique hashes (NFS) can also use it.
Diffstat (limited to 'sys/isofs')
-rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index 0246ad5..6d15b21 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/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); |