]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/nfsd/nfs4state.c
nfsd4: fix alloc_init_session return type
[net-next-2.6.git] / fs / nfsd / nfs4state.c
index e305794328632fe002266520805db21848f4a2e8..ebddcc173ed857ee9ec227338f7aeb525725dbe9 100644 (file)
@@ -639,9 +639,7 @@ static inline int slot_bytes(struct nfsd4_channel_attrs *ca)
        return ca->maxresp_cached - NFSD_MIN_HDR_SEQ_SZ;
 }
 
-static int
-alloc_init_session(struct svc_rqst *rqstp, struct nfs4_client *clp,
-                  struct nfsd4_create_session *cses)
+static __be32 alloc_init_session(struct svc_rqst *rqstp, struct nfs4_client *clp, struct nfsd4_create_session *cses)
 {
        struct nfsd4_session *new, tmp;
        struct nfsd4_slot *sp;