summaryrefslogtreecommitdiffstats
path: root/fs/nfs/direct.c
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-04-30 19:27:11 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-04-30 20:19:14 +0200
commit24fc9211f4d48c04882a52e42b21c9b4abc4f9bf (patch)
treec126dbd24e31cb02e5d752ab9eabea01f9dece14 /fs/nfs/direct.c
parentNFS: pnfs_pageio_init_read() and init_write() need an extra argument (diff)
downloadlinux-24fc9211f4d48c04882a52e42b21c9b4abc4f9bf.tar.xz
linux-24fc9211f4d48c04882a52e42b21c9b4abc4f9bf.zip
NFS: Define nfs_direct_write_schedule_work() when v3 and v4 are disabled
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>
Diffstat (limited to 'fs/nfs/direct.c')
-rw-r--r--fs/nfs/direct.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c
index d44de2f83952..e83545c4d36f 100644
--- a/fs/nfs/direct.c
+++ b/fs/nfs/direct.c
@@ -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)
{