mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
pts-rename-fix-20070105
FIXES 51066 fix pts rename to do the right thing
This commit is contained in:
parent
290b05b6b6
commit
b975875e79
@ -681,7 +681,10 @@ pr_ChangeEntry(char *oldname, char *newname, afs_int32 *newid, char *newowner)
|
||||
if (oid == ANONYMOUSID)
|
||||
return PRNOENT;
|
||||
}
|
||||
code = ubik_PR_ChangeEntry(pruclient, 0, id, newname, oid, newid);
|
||||
if (newid)
|
||||
code = ubik_PR_ChangeEntry(pruclient, 0, id, newname, oid, *newid);
|
||||
else
|
||||
code = ubik_PR_ChangeEntry(pruclient, 0, id, newname, oid, 0);
|
||||
return code;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user