r14256: - rename smb_file -> smb_handle
[bbaumbach/samba-autobuild/.git] / source4 / ntvfs / posix / pvfs_ioctl.c
index 032aec1d8d82c68a9d951f70904bc64a2906f853..829da47a128620a1e9fe9a5e76232c8ff9e27237 100644 (file)
@@ -42,7 +42,7 @@ static NTSTATUS pvfs_ntioctl(struct ntvfs_module_context *ntvfs,
        struct pvfs_state *pvfs = ntvfs->private_data;
        struct pvfs_file *f;
 
-       f = pvfs_find_fd(pvfs, req, io->ntioctl.file.fnum);
+       f = pvfs_find_fd(pvfs, req, io->ntioctl.in.file.fnum);
        if (!f) {
                return NT_STATUS_INVALID_HANDLE;
        }