pvfs: use pvfs_resolve_name_handle() in qfileinfo and setfileinfo
authorStefan Metzmacher <metze@samba.org>
Thu, 28 Feb 2008 11:17:59 +0000 (12:17 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 29 Feb 2008 14:17:53 +0000 (15:17 +0100)
metze

source/ntvfs/posix/pvfs_qfileinfo.c
source/ntvfs/posix/pvfs_setfileinfo.c

index 6ed7295..6bc21e5 100644 (file)
@@ -368,7 +368,7 @@ NTSTATUS pvfs_qfileinfo(struct ntvfs_module_context *ntvfs,
        }
 
        /* update the file information */
-       status = pvfs_resolve_name_fd(pvfs, h->fd, h->name);
+       status = pvfs_resolve_name_handle(pvfs, h);
        if (!NT_STATUS_IS_OK(status)) {
                return status;
        }
index da1e31e..fcadbfd 100644 (file)
@@ -289,7 +289,7 @@ NTSTATUS pvfs_setfileinfo(struct ntvfs_module_context *ntvfs,
        }
 
        /* update the file information */
-       status = pvfs_resolve_name_fd(pvfs, h->fd, h->name);
+       status = pvfs_resolve_name_handle(pvfs, h);
        if (!NT_STATUS_IS_OK(status)) {
                return status;
        }