cifs: allow caller to specify completion op when allocating writedata
[linux-2.6-block.git] / fs / cifs / cifsproto.h
index 9e68340c7306e9caed0962661b05410ac59b3c5c..cbf09cdd42a78d11969d3c1ac661cadee824f98e 100644 (file)
@@ -495,7 +495,9 @@ struct cifs_writedata {
 };
 
 int cifs_async_writev(struct cifs_writedata *wdata);
-struct cifs_writedata *cifs_writedata_alloc(unsigned int nr_pages);
+void cifs_writev_complete(struct work_struct *work);
+struct cifs_writedata *cifs_writedata_alloc(unsigned int nr_pages,
+                                               work_func_t complete);
 void cifs_writedata_release(struct kref *refcount);
 
 #endif                 /* _CIFSPROTO_H */