diff options
author | kib <kib@FreeBSD.org> | 2007-06-01 14:33:11 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2007-06-01 14:33:11 +0000 |
commit | 17260ba6f1fe4f1f853e1660c3c55dce5eb30f83 (patch) | |
tree | 1977c9c1875b36aa303327d67bf46167ab478c50 /sys/fs/smbfs | |
parent | e62312b69263d9a3edcc6deaf63ed19f723df1f4 (diff) | |
download | FreeBSD-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.c | 4 |
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; |