diff options
Diffstat (limited to 'include/linux/lockd')
| -rw-r--r-- | include/linux/lockd/bind.h | 2 | ||||
| -rw-r--r-- | include/linux/lockd/lockd.h | 4 | ||||
| -rw-r--r-- | include/linux/lockd/sm_inter.h | 2 | ||||
| -rw-r--r-- | include/linux/lockd/xdr.h | 8 |
4 files changed, 8 insertions, 8 deletions
diff --git a/include/linux/lockd/bind.h b/include/linux/lockd/bind.h index aa50d89eac..246de1d84a 100644 --- a/include/linux/lockd/bind.h +++ b/include/linux/lockd/bind.h | |||
| @@ -23,7 +23,7 @@ struct svc_rqst; | |||
| 23 | * This is the set of functions for lockd->nfsd communication | 23 | * This is the set of functions for lockd->nfsd communication |
| 24 | */ | 24 | */ |
| 25 | struct nlmsvc_binding { | 25 | struct nlmsvc_binding { |
| 26 | u32 (*fopen)(struct svc_rqst *, | 26 | __be32 (*fopen)(struct svc_rqst *, |
| 27 | struct nfs_fh *, | 27 | struct nfs_fh *, |
| 28 | struct file **); | 28 | struct file **); |
| 29 | void (*fclose)(struct file *); | 29 | void (*fclose)(struct file *); |
diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h index 8c39654549..ac25b5649c 100644 --- a/include/linux/lockd/lockd.h +++ b/include/linux/lockd/lockd.h | |||
| @@ -191,7 +191,7 @@ __be32 nlmsvc_cancel_blocked(struct nlm_file *, struct nlm_lock *); | |||
| 191 | unsigned long nlmsvc_retry_blocked(void); | 191 | unsigned long nlmsvc_retry_blocked(void); |
| 192 | void nlmsvc_traverse_blocks(struct nlm_host *, struct nlm_file *, | 192 | void nlmsvc_traverse_blocks(struct nlm_host *, struct nlm_file *, |
| 193 | nlm_host_match_fn_t match); | 193 | nlm_host_match_fn_t match); |
| 194 | void nlmsvc_grant_reply(struct nlm_cookie *, u32); | 194 | void nlmsvc_grant_reply(struct nlm_cookie *, __be32); |
| 195 | 195 | ||
| 196 | /* | 196 | /* |
| 197 | * File handling for the server personality | 197 | * File handling for the server personality |
| @@ -206,7 +206,7 @@ void nlmsvc_invalidate_all(void); | |||
| 206 | static __inline__ struct inode * | 206 | static __inline__ struct inode * |
| 207 | nlmsvc_file_inode(struct nlm_file *file) | 207 | nlmsvc_file_inode(struct nlm_file *file) |
| 208 | { | 208 | { |
| 209 | return file->f_file->f_dentry->d_inode; | 209 | return file->f_file->f_path.dentry->d_inode; |
| 210 | } | 210 | } |
| 211 | 211 | ||
| 212 | /* | 212 | /* |
diff --git a/include/linux/lockd/sm_inter.h b/include/linux/lockd/sm_inter.h index fc61d40964..22a645828f 100644 --- a/include/linux/lockd/sm_inter.h +++ b/include/linux/lockd/sm_inter.h | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | * Arguments for all calls to statd | 24 | * Arguments for all calls to statd |
| 25 | */ | 25 | */ |
| 26 | struct nsm_args { | 26 | struct nsm_args { |
| 27 | u32 addr; /* remote address */ | 27 | __be32 addr; /* remote address */ |
| 28 | u32 prog; /* RPC callback info */ | 28 | u32 prog; /* RPC callback info */ |
| 29 | u32 vers; | 29 | u32 vers; |
| 30 | u32 proc; | 30 | u32 proc; |
diff --git a/include/linux/lockd/xdr.h b/include/linux/lockd/xdr.h index 29e7d9fc9d..83a1f9f623 100644 --- a/include/linux/lockd/xdr.h +++ b/include/linux/lockd/xdr.h | |||
| @@ -69,7 +69,7 @@ typedef struct nlm_args nlm_args; | |||
| 69 | */ | 69 | */ |
| 70 | struct nlm_res { | 70 | struct nlm_res { |
| 71 | struct nlm_cookie cookie; | 71 | struct nlm_cookie cookie; |
| 72 | u32 status; | 72 | __be32 status; |
| 73 | struct nlm_lock lock; | 73 | struct nlm_lock lock; |
| 74 | }; | 74 | }; |
| 75 | 75 | ||
| @@ -80,9 +80,9 @@ struct nlm_reboot { | |||
| 80 | char * mon; | 80 | char * mon; |
| 81 | int len; | 81 | int len; |
| 82 | u32 state; | 82 | u32 state; |
| 83 | u32 addr; | 83 | __be32 addr; |
| 84 | u32 vers; | 84 | __be32 vers; |
| 85 | u32 proto; | 85 | __be32 proto; |
| 86 | }; | 86 | }; |
| 87 | 87 | ||
| 88 | /* | 88 | /* |
