mirror of
https://github.com/samba-team/samba.git
synced 2025-12-02 00:23:50 +03:00
pvfs_qfileinfo: down discard the return value of pvfs_can_stat()
The odb_can_open() code returns DELETE_PENDING if a delete is really pending. metze
This commit is contained in:
@@ -330,7 +330,7 @@ NTSTATUS pvfs_qpathinfo(struct ntvfs_module_context *ntvfs,
|
||||
|
||||
status = pvfs_can_stat(pvfs, req, name);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
return NT_STATUS_DELETE_PENDING;
|
||||
return status;
|
||||
}
|
||||
|
||||
status = pvfs_access_check_simple(pvfs, req, name,
|
||||
|
||||
Reference in New Issue
Block a user