nfsvno_rename(): do not use -1 as special error indicator it clashes with ERESTART. Use EJUSTRETURN for the case, as it is often done in other places in the kernel. nfsserver rename: lock mnt_renamelock as required Fixes: ef6ea91593ebff73e2fc201efd9f848b71c5a125 Reported by: des
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Peter, could you please run stress2 with the patch? I think it only makes sense to do so for nfs server part.
sys/fs/nfsserver/nfs_nfsdport.c | ||
---|---|---|
1655–1657 | The comment needs to be updated. |
sys/fs/nfsserver/nfs_nfsdport.c | ||
---|---|---|
1732 |