As per Bruce's review comment. squash into "nfsd41: create_session operation" Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx> --- fs/nfsd/nfs4xdr.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index e2213cd..9462876 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -3012,7 +3012,7 @@ nfsd4_encode_create_session(struct nfsd4_compoundres *resp, int nfserr, ENCODE_HEAD; if (nfserr) - goto out; + return nfserr; RESERVE_SPACE(24); WRITEMEM(sess->sessionid.data, NFS4_MAX_SESSIONID_LEN); @@ -3051,8 +3051,7 @@ nfsd4_encode_create_session(struct nfsd4_compoundres *resp, int nfserr, WRITE32(sess->back_channel.rdma_attrs); ADJUST_ARGS(); } -out: - return nfserr; + return 0; } static __be32 -- 1.6.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html