mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
pvfs_rename: we need a do a odb_rename() after pvfs_do_rename()
metze
This commit is contained in:
parent
79e42a5dfb
commit
f4f593a1ac
@ -533,6 +533,9 @@ static NTSTATUS pvfs_rename_nt(struct ntvfs_module_context *ntvfs,
|
||||
status = pvfs_access_check_parent(pvfs, req, name2, SEC_DIR_ADD_FILE);
|
||||
NT_STATUS_NOT_OK_RETURN(status);
|
||||
status = pvfs_do_rename(pvfs, name1, name2->full_name);
|
||||
if (NT_STATUS_IS_OK(status)) {
|
||||
status = odb_rename(lck, name2->full_name);
|
||||
}
|
||||
NT_STATUS_NOT_OK_RETURN(status);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user