Call nfsm_clget_nolock() instead of nfsm_clget() when holding the NFS

subsystem lock to avoid tripping over an assertion regarding whether
the lock is held or not.  This is likely to be the cause of a panic
tripped over by Andrea Campi.
This commit is contained in:
rwatson 2004-05-27 20:34:04 +00:00
parent 543df2d4d6
commit 76f0671ff7

View File

@ -3845,7 +3845,7 @@ again:
xfer = nlen;
cp = dp->d_name;
while (xfer > 0) {
nfsm_clget;
nfsm_clget_nolock;
if ((bp + xfer) > be)
tsiz = be - bp;
else