r14173: change smb interface structures to always use
[kai/samba-autobuild/.git] / source4 / ntvfs / posix / pvfs_ioctl.c
index aaa9db9986c31c8b3a83cc765967ba9e021d02cf..032aec1d8d82c68a9d951f70904bc64a2906f853 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.in.fnum);
+       f = pvfs_find_fd(pvfs, req, io->ntioctl.file.fnum);
        if (!f) {
                return NT_STATUS_INVALID_HANDLE;
        }
@@ -62,7 +62,8 @@ static NTSTATUS pvfs_ntioctl(struct ntvfs_module_context *ntvfs,
   ioctl interface 
 */
 NTSTATUS pvfs_ioctl(struct ntvfs_module_context *ntvfs,
-                   struct ntvfs_request *req, union smb_ioctl *io)
+                   struct ntvfs_request *req,
+                   union smb_ioctl *io)
 {
        NTSTATUS status = NT_STATUS_UNSUCCESSFUL;