From 4db039c3f33ff4119ced156f23786b1bcb73b5fd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 26 Oct 2004 08:41:12 +0000 Subject: 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) --- source4/ntvfs/posix/pvfs_ioctl.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'source4/ntvfs') 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; } /* -- cgit