From patchwork Mon Oct 1 17:27:27 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J. Bruce Fields" X-Patchwork-Id: 1531961 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 14F37DFE80 for ; Mon, 1 Oct 2012 17:27:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751267Ab2JAR13 (ORCPT ); Mon, 1 Oct 2012 13:27:29 -0400 Received: from fieldses.org ([174.143.236.118]:53687 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751221Ab2JAR12 (ORCPT ); Mon, 1 Oct 2012 13:27:28 -0400 Received: from bfields by fieldses.org with local (Exim 4.76) (envelope-from ) id 1TIjmB-0007fJ-TB for linux-nfs@vger.kernel.org; Mon, 01 Oct 2012 13:27:27 -0400 Date: Mon, 1 Oct 2012 13:27:27 -0400 To: linux-nfs@vger.kernel.org Subject: [PATCH] fix bind_conn_to_session xdr comment Message-ID: <20121001172727.GA28616@fieldses.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) From: "J. Bruce Fields" Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org This is a trivial patch, queued up for 3.7. (And I think returning 0 here is all we need to do to cleanly not support rdma, which closes one of the minor 4.1 todo items.) --b. commit 6e67b5d1840b5788875ad561f2e76a1bf5facc86 Author: J. Bruce Fields Date: Thu Sep 13 09:49:43 2012 -0400 nfsd4: fix bind_conn_to_session xdr comment Signed-off-by: J. Bruce Fields --- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 6322df3..fd548d1 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -2659,7 +2659,7 @@ static __be32 nfsd4_encode_bind_conn_to_session(struct nfsd4_compoundres *resp, RESERVE_SPACE(NFS4_MAX_SESSIONID_LEN + 8); WRITEMEM(bcts->sessionid.data, NFS4_MAX_SESSIONID_LEN); WRITE32(bcts->dir); - /* XXX: ? */ + /* Sorry, we do not yet support RDMA over 4.1: */ WRITE32(0); ADJUST_ARGS(); }