summaryrefslogtreecommitdiffstats
path: root/sys/fs/udf
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-03-16 11:20:51 +0000
committerphk <phk@FreeBSD.org>2005-03-16 11:20:51 +0000
commit98f1c9b062647e119053ac555f7eb5e353d0c465 (patch)
tree4ec08b592ae3dc7f2da72161be0120f5fe447736 /sys/fs/udf
parent6552218237e46878fe727ca080ccc8a0f753e6df (diff)
downloadFreeBSD-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/fs/udf')
-rw-r--r--sys/fs/udf/udf_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/udf/udf_vfsops.c b/sys/fs/udf/udf_vfsops.c
index 5297fc8..b5eb3cd 100644
--- a/sys/fs/udf/udf_vfsops.c
+++ b/sys/fs/udf/udf_vfsops.c
@@ -581,7 +581,7 @@ udf_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp)
struct file_entry *fe;
int error, sector, size;
- 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);
@@ -601,7 +601,7 @@ udf_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp)
unode->udfmp = udfmp;
vp->v_data = unode;
- 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);
OpenPOWER on IntegriCloud