diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-09-18 23:20:29 (GMT) |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-09-25 02:46:28 (GMT) |
commit | 33319141252fd14b58cf13685156c23dcaac2527 (patch) | |
tree | eebda8dab0fd4e759f58111f7a3d2fcef3e90b7f /fs/cifs/cifsproto.h | |
parent | c9de5c80d536e556568ccd45b9599870d4993b7d (diff) | |
download | linux-33319141252fd14b58cf13685156c23dcaac2527.tar.xz |
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.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 6656eb5..8b320c7 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -468,24 +468,6 @@ void cifs_readdata_release(struct kref *refcount); int cifs_async_readv(struct cifs_readdata *rdata); int cifs_readv_receive(struct TCP_Server_Info *server, struct mid_q_entry *mid); -/* asynchronous write support */ -struct cifs_writedata { - struct kref refcount; - struct list_head list; - struct completion done; - enum writeback_sync_modes sync_mode; - struct work_struct work; - struct cifsFileInfo *cfile; - __u64 offset; - pid_t pid; - unsigned int bytes; - int result; - void (*marshal_iov) (struct kvec *iov, - struct cifs_writedata *wdata); - unsigned int nr_pages; - struct page *pages[1]; -}; - int cifs_async_writev(struct cifs_writedata *wdata); void cifs_writev_complete(struct work_struct *work); struct cifs_writedata *cifs_writedata_alloc(unsigned int nr_pages, |