nfs4: Properly handle NFS4ERR_DELAY during node rename
This commit is contained in:
@@ -374,6 +374,12 @@ NFS4Inode::RenameNode(Inode* from, Inode* to, const char* fromName,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// need to wait
|
||||||
|
if (reply.NFS4Error() == NFS4ERR_DELAY) {
|
||||||
|
snooze_etc(sSecToBigTime(5), B_SYSTEM_TIMEBASE, B_RELATIVE_TIMEOUT);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
reply.PutFH();
|
reply.PutFH();
|
||||||
reply.SaveFH();
|
reply.SaveFH();
|
||||||
reply.PutFH();
|
reply.PutFH();
|
||||||
|
|||||||
Reference in New Issue
Block a user