summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2007-06-01 14:33:11 +0000
committerkib <kib@FreeBSD.org>2007-06-01 14:33:11 +0000
commit17260ba6f1fe4f1f853e1660c3c55dce5eb30f83 (patch)
tree1977c9c1875b36aa303327d67bf46167ab478c50 /sys/ufs
parente62312b69263d9a3edcc6deaf63ed19f723df1f4 (diff)
downloadFreeBSD-src-17260ba6f1fe4f1f853e1660c3c55dce5eb30f83.zip
FreeBSD-src-17260ba6f1fe4f1f853e1660c3c55dce5eb30f83.tar.gz
Change the VOP_OPEN(), vn_open() vnode operation and d_fdopen() cdev operation
argument from being file descriptor index into the pointer to struct file: part 2. Convert calls missed in the first big commit. Noted by: rwatson Pointy hat to: kib
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ufs/ufs_extattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_extattr.c b/sys/ufs/ufs/ufs_extattr.c
index f49f988..3692329 100644
--- a/sys/ufs/ufs/ufs_extattr.c
+++ b/sys/ufs/ufs/ufs_extattr.c
@@ -321,7 +321,7 @@ ufs_extattr_enable_with_open(struct ufsmount *ump, struct vnode *vp,
{
int error;
- error = VOP_OPEN(vp, FREAD|FWRITE, td->td_ucred, td, -1);
+ error = VOP_OPEN(vp, FREAD|FWRITE, td->td_ucred, td, NULL);
if (error) {
printf("ufs_extattr_enable_with_open.VOP_OPEN(): failed "
"with %d\n", error);
OpenPOWER on IntegriCloud