1
0
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:
Stefan Metzmacher 2008-02-27 11:25:33 +01:00
parent 79e42a5dfb
commit f4f593a1ac

View File

@ -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;