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/ufs | |
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/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index b1117b6..04ae675 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1172,7 +1172,7 @@ ffs_vget(mp, ino, flags, vpp) 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); @@ -1225,7 +1225,7 @@ ffs_vget(mp, ino, flags, vpp) } #endif - 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); |