diff options
Diffstat (limited to 'fs/nfs/delegation.h')
-rw-r--r-- | fs/nfs/delegation.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/delegation.h b/fs/nfs/delegation.h index 2a74882e5d50..09f383795174 100644 --- a/fs/nfs/delegation.h +++ b/fs/nfs/delegation.h | |||
@@ -17,7 +17,7 @@ struct nfs_delegation { | |||
17 | struct rpc_cred *cred; | 17 | struct rpc_cred *cred; |
18 | struct inode *inode; | 18 | struct inode *inode; |
19 | nfs4_stateid stateid; | 19 | nfs4_stateid stateid; |
20 | int type; | 20 | fmode_t type; |
21 | loff_t maxsize; | 21 | loff_t maxsize; |
22 | __u64 change_attr; | 22 | __u64 change_attr; |
23 | unsigned long flags; | 23 | unsigned long flags; |
@@ -54,10 +54,10 @@ int nfs4_lock_delegation_recall(struct nfs4_state *state, struct file_lock *fl); | |||
54 | int nfs4_copy_delegation_stateid(nfs4_stateid *dst, struct inode *inode); | 54 | int nfs4_copy_delegation_stateid(nfs4_stateid *dst, struct inode *inode); |
55 | 55 | ||
56 | void nfs_mark_delegation_referenced(struct nfs_delegation *delegation); | 56 | void nfs_mark_delegation_referenced(struct nfs_delegation *delegation); |
57 | int nfs_have_delegation(struct inode *inode, int flags); | 57 | int nfs_have_delegation(struct inode *inode, fmode_t flags); |
58 | 58 | ||
59 | #else | 59 | #else |
60 | static inline int nfs_have_delegation(struct inode *inode, int flags) | 60 | static inline int nfs_have_delegation(struct inode *inode, fmode_t flags) |
61 | { | 61 | { |
62 | return 0; | 62 | return 0; |
63 | } | 63 | } |