linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] NFS: Define dummy nfs_init_cinfo() and nfs_init_cinfo_from_inode()
@ 2012-04-30 17:48 bjschuma
  2012-04-30 18:16 ` Myklebust, Trond
  0 siblings, 1 reply; 3+ messages in thread
From: bjschuma @ 2012-04-30 17:48 UTC (permalink / raw)
  To: Trond.Myklebust; +Cc: linux-nfs, iisaman, Bryan Schumaker

From: Bryan Schumaker <bjschuma@netapp.com>

These are needed when v3 and v4 are not enabled.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-30 18:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-30 17:48 [PATCH] NFS: Define dummy nfs_init_cinfo() and nfs_init_cinfo_from_inode() bjschuma
2012-04-30 18:16 ` Myklebust, Trond
2012-04-30 18:29   ` Bryan Schumaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).