Skip to contentSkip to conversation

NFS: Define nfs_direct_write_schedule_work() when v3 and v4 are disabled

PATCH New [email protected] 1 participant 1 message Apr 30, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NFS: Define nfs_direct_write_schedule_work() when v3 and v4 are disabled

From: Bryan Schumaker <[email protected]>

v2 doesn't have commits, so this function can be a no-op.

---
 fs/nfs/direct.c |    3 +++
 1 file changed, 3 insertions(+)
fs/nfs/direct.c +3 -0
index d44de2f..e83545c 100644
@@ -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)
 {
Signature · 1 line
1.7.10