aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsproto.h
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-09-18 19:20:29 -0400
committerSteve French <smfrench@gmail.com>2012-09-24 22:46:28 -0400
commit33319141252fd14b58cf13685156c23dcaac2527 (patch)
treeeebda8dab0fd4e759f58111f7a3d2fcef3e90b7f /fs/cifs/cifsproto.h
parentc9de5c80d536e556568ccd45b9599870d4993b7d (diff)
CIFS: Add SMB2 support for cifs_iovec_write
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r--fs/cifs/cifsproto.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index 6656eb5dbf70..8b320c7b582c 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -468,24 +468,6 @@ void cifs_readdata_release(struct kref *refcount);
468int cifs_async_readv(struct cifs_readdata *rdata); 468int cifs_async_readv(struct cifs_readdata *rdata);
469int cifs_readv_receive(struct TCP_Server_Info *server, struct mid_q_entry *mid); 469int cifs_readv_receive(struct TCP_Server_Info *server, struct mid_q_entry *mid);
470 470
471/* asynchronous write support */
472struct cifs_writedata {
473 struct kref refcount;
474 struct list_head list;
475 struct completion done;
476 enum writeback_sync_modes sync_mode;
477 struct work_struct work;
478 struct cifsFileInfo *cfile;
479 __u64 offset;
480 pid_t pid;
481 unsigned int bytes;
482 int result;
483 void (*marshal_iov) (struct kvec *iov,
484 struct cifs_writedata *wdata);
485 unsigned int nr_pages;
486 struct page *pages[1];
487};
488
489int cifs_async_writev(struct cifs_writedata *wdata); 471int cifs_async_writev(struct cifs_writedata *wdata);
490void cifs_writev_complete(struct work_struct *work); 472void cifs_writev_complete(struct work_struct *work);
491struct cifs_writedata *cifs_writedata_alloc(unsigned int nr_pages, 473struct cifs_writedata *cifs_writedata_alloc(unsigned int nr_pages,