aboutsummaryrefslogtreecommitdiff
path: root/fs/nfs/direct.c
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-04-30 13:27:11 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-04-30 14:19:14 -0400
commit24fc9211f4d48c04882a52e42b21c9b4abc4f9bf (patch)
treec126dbd24e31cb02e5d752ab9eabea01f9dece14 /fs/nfs/direct.c
parentb58fee2189b17719c846f65ffe9483c2814e6605 (diff)
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)
{