Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114337
b: refs/heads/master
c: d22b1cf
h: refs/heads/master
i:
  114335: 356c5fe
v: v3
  • Loading branch information
J. Bruce Fields committed Oct 3, 2008
1 parent 689ad28 commit 1298bf3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2b5028905226f85075a408b1118857c9aa48bb3
refs/heads/master: d22b1cff099737f74f3ac5950094508b4cddec1e
4 changes: 4 additions & 0 deletions trunk/fs/lockd/svclock.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,10 @@ nlmsvc_lock(struct svc_rqst *rqstp, struct nlm_file *file,
ret = nlm_lck_denied_grace_period;
goto out;
}
if (reclaim && !locks_in_grace()) {
ret = nlm_lck_denied_grace_period;
goto out;
}

if (!wait)
lock->fl.fl_flags &= ~FL_SLEEP;
Expand Down

0 comments on commit 1298bf3

Please sign in to comment.