]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add missing break in lock_partialfilelock(..) with NFS_RESERR
authorngie <ngie@FreeBSD.org>
Mon, 13 Jun 2016 11:19:06 +0000 (11:19 +0000)
committerngie <ngie@FreeBSD.org>
Mon, 13 Jun 2016 11:19:06 +0000 (11:19 +0000)
commit7c98c921f9b7e3a200c9a2641f2f3b8723fcd1d7
tree79c30f85810938d1ec20caae04650c1ff55404af
parentc862120336bfb1c36fe50f6fd462a8c86967e33d
Add missing break in lock_partialfilelock(..) with NFS_RESERR

This will help ensure that the right error is trickled up when the
function is called if the lock status is NFS_RESERR

Differential Revision: https://reviews.freebsd.org/D6622
Reviewed by: rmacklem
Approved by: re (gjb)
Tested with: fsx; svn info/svnversion (uses bdb locking); locktests from Bull http://nfsv4.bullopensource.org/tools/tests/locktest.php
MFC after: 2 weeks
Reported by: Coverity
CID: 10081611304956
Sponsored by: EMC / Isilon Storage Division
usr.sbin/rpc.lockd/lockd_lock.c