diff options
Diffstat (limited to 'include/linux/lockd')
-rw-r--r-- | include/linux/lockd/lockd.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h index b0f63b6ab0d4..cb9933d04091 100644 --- a/include/linux/lockd/lockd.h +++ b/include/linux/lockd/lockd.h | |||
@@ -86,7 +86,6 @@ struct nlm_rqst { | |||
86 | struct nlm_host * a_host; /* host handle */ | 86 | struct nlm_host * a_host; /* host handle */ |
87 | struct nlm_args a_args; /* arguments */ | 87 | struct nlm_args a_args; /* arguments */ |
88 | struct nlm_res a_res; /* result */ | 88 | struct nlm_res a_res; /* result */ |
89 | struct nlm_wait * a_block; | ||
90 | unsigned int a_retries; /* Retry count */ | 89 | unsigned int a_retries; /* Retry count */ |
91 | char a_owner[NLMCLNT_OHSIZE]; | 90 | char a_owner[NLMCLNT_OHSIZE]; |
92 | }; | 91 | }; |
@@ -149,9 +148,9 @@ extern unsigned long nlmsvc_timeout; | |||
149 | * Lockd client functions | 148 | * Lockd client functions |
150 | */ | 149 | */ |
151 | struct nlm_rqst * nlmclnt_alloc_call(void); | 150 | struct nlm_rqst * nlmclnt_alloc_call(void); |
152 | int nlmclnt_prepare_block(struct nlm_rqst *req, struct nlm_host *host, struct file_lock *fl); | 151 | struct nlm_wait * nlmclnt_prepare_block(struct nlm_host *host, struct file_lock *fl); |
153 | void nlmclnt_finish_block(struct nlm_rqst *req); | 152 | void nlmclnt_finish_block(struct nlm_wait *block); |
154 | long nlmclnt_block(struct nlm_rqst *req, long timeout); | 153 | int nlmclnt_block(struct nlm_wait *block, struct nlm_rqst *req, long timeout); |
155 | u32 nlmclnt_grant(const struct sockaddr_in *addr, const struct nlm_lock *); | 154 | u32 nlmclnt_grant(const struct sockaddr_in *addr, const struct nlm_lock *); |
156 | void nlmclnt_recovery(struct nlm_host *, u32); | 155 | void nlmclnt_recovery(struct nlm_host *, u32); |
157 | int nlmclnt_reclaim(struct nlm_host *, struct file_lock *); | 156 | int nlmclnt_reclaim(struct nlm_host *, struct file_lock *); |