mirror of
https://github.com/samba-team/samba.git
synced 2025-12-05 12:23:50 +03:00
pvfs: use pvfs_resolve_name_handle() in qfileinfo and setfileinfo
metze
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user