diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2008-02-06 13:59:23 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-10-03 16:19:19 -0400 |
commit | b2b5028905226f85075a408b1118857c9aa48bb3 (patch) | |
tree | 79d4e32fe7b0f4f12282282f0b0147ca2b438171 /include/linux/lockd | |
parent | af558e33bedab672f5cfd3260bce7445e353fe21 (diff) |
lockd: move grace period checks to common code
Do all the grace period checks in svclock.c. This simplifies the code a
bit, and will ease some later changes.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include/linux/lockd')
-rw-r--r-- | include/linux/lockd/lockd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h index ec8af115843d..973ab1d6e862 100644 --- a/include/linux/lockd/lockd.h +++ b/include/linux/lockd/lockd.h | |||
@@ -242,7 +242,7 @@ typedef int (*nlm_host_match_fn_t)(void *cur, struct nlm_host *ref); | |||
242 | */ | 242 | */ |
243 | __be32 nlmsvc_lock(struct svc_rqst *, struct nlm_file *, | 243 | __be32 nlmsvc_lock(struct svc_rqst *, struct nlm_file *, |
244 | struct nlm_host *, struct nlm_lock *, int, | 244 | struct nlm_host *, struct nlm_lock *, int, |
245 | struct nlm_cookie *); | 245 | struct nlm_cookie *, int); |
246 | __be32 nlmsvc_unlock(struct nlm_file *, struct nlm_lock *); | 246 | __be32 nlmsvc_unlock(struct nlm_file *, struct nlm_lock *); |
247 | __be32 nlmsvc_testlock(struct svc_rqst *, struct nlm_file *, | 247 | __be32 nlmsvc_testlock(struct svc_rqst *, struct nlm_file *, |
248 | struct nlm_host *, struct nlm_lock *, | 248 | struct nlm_host *, struct nlm_lock *, |