r14173: change smb interface structures to always use
[jelmer/samba4-debian.git] / source / ntvfs / posix / pvfs_qfileinfo.c
index 5d908cbee28dff83d91bcb0a0ac1d13c131c5898..b01b7bb649b96017d5e3a6ea2492b3b897485957 100644 (file)
@@ -289,7 +289,7 @@ NTSTATUS pvfs_qpathinfo(struct ntvfs_module_context *ntvfs,
        NTSTATUS status;
 
        /* resolve the cifs name to a posix name */
-       status = pvfs_resolve_name(pvfs, req, info->generic.in.fname, PVFS_RESOLVE_STREAMS, &name);
+       status = pvfs_resolve_name(pvfs, req, info->generic.file.path, PVFS_RESOLVE_STREAMS, &name);
        if (!NT_STATUS_IS_OK(status)) {
                return status;
        }
@@ -326,7 +326,7 @@ NTSTATUS pvfs_qfileinfo(struct ntvfs_module_context *ntvfs,
        NTSTATUS status;
        uint32_t access_needed;
 
-       f = pvfs_find_fd(pvfs, req, info->generic.in.fnum);
+       f = pvfs_find_fd(pvfs, req, info->generic.file.fnum);
        if (!f) {
                return NT_STATUS_INVALID_HANDLE;
        }