Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx2.netapp.com ([216.240.18.37]:33387 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755985Ab2D3RtO (ORCPT ); Mon, 30 Apr 2012 13:49:14 -0400 From: bjschuma@netapp.com To: Trond.Myklebust@netapp.com Cc: linux-nfs@vger.kernel.org, iisaman@netapp.com, Bryan Schumaker Subject: [PATCH] NFS: Define dummy nfs_init_cinfo() and nfs_init_cinfo_from_inode() Date: Mon, 30 Apr 2012 13:48:49 -0400 Message-Id: <1335808129-6750-1-git-send-email-bjschuma@netapp.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: From: Bryan Schumaker These are needed when v3 and v4 are not enabled. Signed-off-by: Bryan Schumaker --- fs/nfs/write.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 3636191..f0045e0 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -567,6 +567,18 @@ int nfs_write_need_commit(struct nfs_write_data *data) } #else +static void nfs_init_cinfo_from_inode(struct nfs_commit_info *cinfo, + struct inode *inode) +{ +} + +void nfs_init_cinfo(struct nfs_commit_info *cinfo, + struct inode *inode, + struct nfs_direct_req *dreq) +{ +} +EXPORT_SYMBOL_GPL(nfs_init_cinfo); + void nfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, struct nfs_commit_info *cinfo) -- 1.7.10