diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-10-26 08:41:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:04:46 -0500 |
commit | 4db039c3f33ff4119ced156f23786b1bcb73b5fd (patch) | |
tree | bc8390dc0002271230df337bf6ddd590ca39c8b6 /source4/ntvfs/posix | |
parent | 7f60959e64c4281e02fd11fbcce2d15f43da1892 (diff) | |
download | samba-4db039c3f33ff4119ced156f23786b1bcb73b5fd.tar.gz samba-4db039c3f33ff4119ced156f23786b1bcb73b5fd.tar.bz2 samba-4db039c3f33ff4119ced156f23786b1bcb73b5fd.zip |
r3254: - expanded the RAW-IOCTL test
- fixed the old ioctl interface to not check handle before failing
- pvs now passes RAW-IOCTL
(This used to be commit 98f6dbdba46c907039951559ec5f526410fd0039)
Diffstat (limited to 'source4/ntvfs/posix')
-rw-r--r-- | source4/ntvfs/posix/pvfs_ioctl.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/source4/ntvfs/posix/pvfs_ioctl.c b/source4/ntvfs/posix/pvfs_ioctl.c index 15b9d6c27a..4feca8979f 100644 --- a/source4/ntvfs/posix/pvfs_ioctl.c +++ b/source4/ntvfs/posix/pvfs_ioctl.c @@ -29,15 +29,7 @@ static NTSTATUS pvfs_ioctl_old(struct ntvfs_module_context *ntvfs, struct smbsrv_request *req, union smb_ioctl *io) { - struct pvfs_state *pvfs = ntvfs->private_data; - struct pvfs_file *f; - - f = pvfs_find_fd(pvfs, req, io->ioctl.in.fnum); - if (!f) { - return NT_STATUS_INVALID_HANDLE; - } - - return NT_STATUS_NOT_SUPPORTED; + return NT_STATUS_UNSUCCESSFUL; } /* |