Return-Path: linux-nfs-owner@vger.kernel.org Received: from bombadil.infradead.org ([198.137.202.9]:59103 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751468AbaCSHlg (ORCPT ); Wed, 19 Mar 2014 03:41:36 -0400 Date: Wed, 19 Mar 2014 00:41:30 -0700 From: Christoph Hellwig To: Anna Schumaker Cc: Christoph Hellwig , Trond Myklebust , linux-nfs@vger.kernel.org Subject: Re: [PATCH 1/2] nfs: remove ->write_pageio_init from rpc ops Message-ID: <20140319074130.GA14944@infradead.org> References: <20140318112825.GA22359@infradead.org> <532840E8.5090804@gmail.com> <20140318140942.GB11672@infradead.org> <53288AAC.2010406@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <53288AAC.2010406@gmail.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Tue, Mar 18, 2014 at 02:04:28PM -0400, Anna Schumaker wrote: > > The other option would be to simply always have the pnfs_curr_ld field > > in the server structure and remove the ifdef entirely. > > Okay. If we keep the ifdef, then it should probably check for CONFIG_NFS_V4_1 and not CONFIG_NFS_V4 The field in the header is under CONFIG_NFS_V4, so I tried to make it consistent.