summaryrefslogtreecommitdiff
path: root/sys/fs/nfsclient/nfs_clvnops.c
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2010-04-24 22:52:14 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2010-04-24 22:52:14 +0000
commit23f929dfe8361d0dbedf909df6fc8e24c1f5caec (patch)
treee6cf5a4477f72259db2908562183345a47d6636b /sys/fs/nfsclient/nfs_clvnops.c
parentbf59faa38570e2cc8034e0c1d9e155c943df2649 (diff)
downloadsrc-test2-23f929dfe8361d0dbedf909df6fc8e24c1f5caec.tar.gz
src-test2-23f929dfe8361d0dbedf909df6fc8e24c1f5caec.zip
Notes
Diffstat (limited to 'sys/fs/nfsclient/nfs_clvnops.c')
-rw-r--r--sys/fs/nfsclient/nfs_clvnops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/nfsclient/nfs_clvnops.c b/sys/fs/nfsclient/nfs_clvnops.c
index 4e844f1024b1..d53c83862425 100644
--- a/sys/fs/nfsclient/nfs_clvnops.c
+++ b/sys/fs/nfsclient/nfs_clvnops.c
@@ -2871,7 +2871,8 @@ nfs_advlock(struct vop_advlock_args *ap)
if (ret == NFSERR_DENIED && (ap->a_flags & F_WAIT) &&
ap->a_op == F_SETLK) {
VOP_UNLOCK(vp, 0);
- error = nfs_catnap(PZERO | PCATCH, "ncladvl");
+ error = nfs_catnap(PZERO | PCATCH, ret,
+ "ncladvl");
if (error)
return (EINTR);
vn_lock(vp, LK_EXCLUSIVE | LK_RETRY);