]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
NFS: Define nfs_direct_write_schedule_work() when v3 and v4 are disabled
authorBryan Schumaker <bjschuma@netapp.com>
Mon, 30 Apr 2012 17:27:11 +0000 (13:27 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Apr 2012 18:19:14 +0000 (14:19 -0400)
v2 doesn't have commits, so this function can be a no-op.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/direct.c

index d44de2f83952a944abe0399823da67882eefda9a..e83545c4d36f2fbee00eaed78179609a169d80ee 100644 (file)
@@ -601,6 +601,9 @@ static void nfs_direct_write_complete(struct nfs_direct_req *dreq, struct inode
 }
 
 #else
+static void nfs_direct_write_schedule_work(struct work_struct *work)
+{
+}
 
 static void nfs_direct_write_complete(struct nfs_direct_req *dreq, struct inode *inode)
 {