summaryrefslogtreecommitdiffstats
path: root/sys/fs/smbfs
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/fs/smbfs
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/fs/smbfs')
-rw-r--r--sys/fs/smbfs/smbfs_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/smbfs/smbfs_io.c b/sys/fs/smbfs/smbfs_io.c
index 0f8ed49..082f545 100644
--- a/sys/fs/smbfs/smbfs_io.c
+++ b/sys/fs/smbfs/smbfs_io.c
@@ -592,7 +592,7 @@ smbfs_putpages(ap)
#ifdef SMBFS_RWGENERIC
td = curthread; /* XXX */
cred = td->td_ucred; /* XXX */
- VOP_OPEN(vp, FWRITE, cred, td, -1);
+ VOP_OPEN(vp, FWRITE, cred, td, NULL);
error = vop_stdputpages(ap);
VOP_CLOSE(vp, FWRITE, cred, td);
return error;
@@ -610,7 +610,7 @@ smbfs_putpages(ap)
td = curthread; /* XXX */
cred = td->td_ucred; /* XXX */
-/* VOP_OPEN(vp, FWRITE, cred, td, -1);*/
+/* VOP_OPEN(vp, FWRITE, cred, td, NULL);*/
np = VTOSMB(vp);
smp = VFSTOSMBFS(vp->v_mount);
pages = ap->a_m;
OpenPOWER on IntegriCloud