From: Bryan Schumaker Date: Mon, 30 Apr 2012 17:27:11 +0000 (-0400) Subject: NFS: Define nfs_direct_write_schedule_work() when v3 and v4 are disabled X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=24fc9211f4d48c04882a52e42b21c9b4abc4f9bf;p=linux-edison.git 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 Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c index d44de2f8395..e83545c4d36 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) {