summaryrefslogtreecommitdiffstats
path: root/usr.sbin/faithd
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2011-08-02 11:28:42 +0000
committerrmacklem <rmacklem@FreeBSD.org>2011-08-02 11:28:42 +0000
commitafa0f6e53c883c2b17ed113f86d0c4bc14584a62 (patch)
tree3dfc99a733203a34c082a3b8d3b6ad3bd587824b /usr.sbin/faithd
parent9a3c5b3af4f421934c726d220efd030e2c18fa45 (diff)
downloadFreeBSD-src-afa0f6e53c883c2b17ed113f86d0c4bc14584a62.zip
FreeBSD-src-afa0f6e53c883c2b17ed113f86d0c4bc14584a62.tar.gz
Fix a LOR in the NFS client which could cause a deadlock.
This was reported to the mailing list freebsd-net@freebsd.org on July 21, 2011 under the subject "LOR with nfsclient sillyrename". The LOR occurred when nfs_inactive() called vrele(sp->s_dvp) while holding the vnode lock on the file in s_dvp. This patch modifies the client so that it performs the vrele(sp->s_dvp) as a separate task to avoid the LOR. This fix was discussed with jhb@ and kib@, who both proposed variations of it. Tested by: pho, jlott at averesystems.com Submitted by: jhb (earlier version) Reviewed by: kib Approved by: re (kib) MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/faithd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud