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:
parent
a607c5e4cb
commit
9a7563cf2d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user