summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/posix/pvfs_ioctl.c10
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;
}
/*