Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114311
b: refs/heads/master
c: 8fafa90
h: refs/heads/master
i:
  114309: 8b791fc
  114307: b78cf89
  114303: eab0809
v: v3
  • Loading branch information
J. Bruce Fields committed Sep 29, 2008
1 parent d112b36 commit f6dc664
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 54a66e548079f12a6f54c3cae96812a9ed9b54ae
refs/heads/master: 8fafa90082ab18859d97627fc454edf12f7efbff
12 changes: 3 additions & 9 deletions trunk/fs/lockd/svc.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,9 @@ lockd(void *vrqstp)
continue;
}

/*
* Retry any blocked locks that have been notified by
* the VFS. Don't do this during grace period.
* (Theoretically, there shouldn't even be blocked locks
* during grace period).
*/
if (!nlmsvc_grace_period) {
timeout = nlmsvc_retry_blocked();
} else if (time_before(grace_period_expire, jiffies))
timeout = nlmsvc_retry_blocked();

if (time_before(grace_period_expire, jiffies))
clear_grace_period();

/*
Expand Down

0 comments on commit f6dc664

Please sign in to comment.