diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-05-27 20:34:04 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-05-27 20:34:04 +0000 |
commit | 76f0671ff741739a09b5d8845169636d71b3d1e2 (patch) | |
tree | d6a18796331a39ee5aca2cbdfaac4ab683e054c0 /sys/nfsserver | |
parent | 543df2d4d6104ac8fe1444129a7c7fb47b488b3f (diff) | |
download | FreeBSD-src-76f0671ff741739a09b5d8845169636d71b3d1e2.zip FreeBSD-src-76f0671ff741739a09b5d8845169636d71b3d1e2.tar.gz |
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.
Diffstat (limited to 'sys/nfsserver')
-rw-r--r-- | sys/nfsserver/nfs_serv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsserver/nfs_serv.c b/sys/nfsserver/nfs_serv.c index ea06231..1a142df 100644 --- a/sys/nfsserver/nfs_serv.c +++ b/sys/nfsserver/nfs_serv.c @@ -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 |