aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4xdr.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-12-23 15:21:53 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-12-23 15:21:53 -0500
commitbd7bf9d540c001055fba796ebf146d90e4dd2eb2 (patch)
tree29f49d2244d390055126280903e9d647e10cdbd8 /fs/nfs/nfs4xdr.c
parent9082a5cc1e33d081f091f54e6ed69a0628a4bdcc (diff)
NFSv4: Convert delegation->type field to fmode_t
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r--fs/nfs/nfs4xdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index b916297d233..879911c9903 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -1024,7 +1024,7 @@ static void encode_opentype(struct xdr_stream *xdr, const struct nfs_openargs *a
1024 } 1024 }
1025} 1025}
1026 1026
1027static inline void encode_delegation_type(struct xdr_stream *xdr, int delegation_type) 1027static inline void encode_delegation_type(struct xdr_stream *xdr, fmode_t delegation_type)
1028{ 1028{
1029 __be32 *p; 1029 __be32 *p;
1030 1030
@@ -1053,7 +1053,7 @@ static inline void encode_claim_null(struct xdr_stream *xdr, const struct qstr *
1053 encode_string(xdr, name->len, name->name); 1053 encode_string(xdr, name->len, name->name);
1054} 1054}
1055 1055
1056static inline void encode_claim_previous(struct xdr_stream *xdr, int type) 1056static inline void encode_claim_previous(struct xdr_stream *xdr, fmode_t type)
1057{ 1057{
1058 __be32 *p; 1058 __be32 *p;
1059 1059