cifs: add cifs_async_writev
commitc28c89fc43e3f81436efc4748837534d4d46f90c
authorJeff Layton <jlayton@redhat.com>
Thu, 19 May 2011 20:22:56 +0000 (19 16:22 -0400)
committerSteve French <sfrench@us.ibm.com>
Wed, 25 May 2011 20:38:33 +0000 (25 20:38 +0000)
treed7eec9d8aabf41d38dcecab0de6f91b6a8a037c6
parentf7910cbd9fa319ee4501074f1f3b5ce23c4b1518
cifs: add cifs_async_writev

Add the ability for CIFS to do an asynchronous write. The kernel will
set the frame up as it would for a "normal" SMBWrite2 request, and use
cifs_call_async to send it. The mid callback will then be configured to
handle the result.

Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c