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 6ed729541f03ebe6a748a9a1492dbf8561309daf..6bc21e5e3e90a507b101cc9deb3cdc68e9121564 100644 (file)
@@ -368,7 +368,7 @@ NTSTATUS pvfs_qfileinfo(struct ntvfs_module_context *ntvfs,
        }
 
        /* update the file information */
        }
 
        /* 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;
        }
        if (!NT_STATUS_IS_OK(status)) {
                return status;
        }
index da1e31e63904bc397c0cf230c9ea4c8ff2b610cb..fcadbfd852a52ed05a6bd3224548b9392c1d82e9 100644 (file)
@@ -289,7 +289,7 @@ NTSTATUS pvfs_setfileinfo(struct ntvfs_module_context *ntvfs,
        }
 
        /* update the file information */
        }
 
        /* 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;
        }
        if (!NT_STATUS_IS_OK(status)) {
                return status;
        }