Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/smbfs/smbfs_vnops.c
| Show First 20 Lines • Show All 496 Lines • ▼ Show 20 Lines | struct vop_read_args /* { | ||||
| int a_ioflag; | int a_ioflag; | ||||
| struct ucred *a_cred; | struct ucred *a_cred; | ||||
| } */ *ap; | } */ *ap; | ||||
| { | { | ||||
| struct vnode *vp = ap->a_vp; | struct vnode *vp = ap->a_vp; | ||||
| struct uio *uio = ap->a_uio; | struct uio *uio = ap->a_uio; | ||||
| SMBVDEBUG("\n"); | SMBVDEBUG("\n"); | ||||
| if (vp->v_type != VREG && vp->v_type != VDIR) | if (vp->v_type != VREG) | ||||
imp: Snarkogram: we still have this in our tree? | |||||
Done Inline ActionsYes, it's still there (we might want to deprecate it or update it to support SMB2 protocol though). delphij: Yes, it's still there (we might want to deprecate it or update it to support SMB2 protocol… | |||||
| return EPERM; | return EPERM; | ||||
| return smbfs_readvnode(vp, uio, ap->a_cred); | return smbfs_readvnode(vp, uio, ap->a_cred); | ||||
| } | } | ||||
| static int | static int | ||||
| smbfs_write(ap) | smbfs_write(ap) | ||||
| struct vop_write_args /* { | struct vop_write_args /* { | ||||
| struct vnode *a_vp; | struct vnode *a_vp; | ||||
| ▲ Show 20 Lines • Show All 872 Lines • Show Last 20 Lines | |||||
Snarkogram: we still have this in our tree?