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/msdosfs/msdosfs_denode.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/fs/msdosfs/msdosfs_denode.c') diff --git a/sys/fs/msdosfs/msdosfs_denode.c b/sys/fs/msdosfs/msdosfs_denode.c index 35e62cc..7c58245 100644 --- a/sys/fs/msdosfs/msdosfs_denode.c +++ b/sys/fs/msdosfs/msdosfs_denode.c @@ -124,7 +124,8 @@ deget(pmp, dirclust, diroffset, depp) * entry that represented the file happens to be reused while the * deleted file is still open. */ - error = vfs_hash_get(mntp, hash, LK_EXCLUSIVE, curthread, &nvp); + error = vfs_hash_get(mntp, hash, LK_EXCLUSIVE, curthread, &nvp, + NULL, NULL); if (error) return(error); if (nvp != NULL) { @@ -158,7 +159,7 @@ deget(pmp, dirclust, diroffset, depp) ldep->de_diroffset = diroffset; fc_purge(ldep, 0); /* init the fat cache for this denode */ - error = vfs_hash_insert(nvp, hash, 0, curthread, &xvp); + error = vfs_hash_insert(nvp, hash, 0, curthread, &xvp, NULL, NULL); if (error) { *depp = NULL; return (error); -- cgit v1.1