diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-06-01 14:26:18 +0400 |
---|---|---|
committer | Pavel Shilovsky <pshilovsky@samba.org> | 2012-07-24 21:55:12 +0400 |
commit | 45740847e2362f36410e8118ac685876be473039 (patch) | |
tree | d0cb8a64d50b7a5a945a02b03a5c4ff385ce4b73 /fs/cifs/transport.c | |
parent | 25e266320caca88a4463385b6f4ef696111d2c9a (diff) | |
download | linux-45740847e2362f36410e8118ac685876be473039.tar.gz linux-45740847e2362f36410e8118ac685876be473039.tar.bz2 linux-45740847e2362f36410e8118ac685876be473039.zip |
CIFS: Setup async request in ops struct
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/transport.c')
-rw-r--r-- | fs/cifs/transport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index bcc02b476f6e..83867ef348df 100644 --- a/fs/cifs/transport.c +++ b/fs/cifs/transport.c @@ -345,7 +345,7 @@ wait_for_response(struct TCP_Server_Info *server, struct mid_q_entry *midQ) return 0; } -static int +int cifs_setup_async_request(struct TCP_Server_Info *server, struct kvec *iov, unsigned int nvec, struct mid_q_entry **ret_mid) { @@ -391,7 +391,7 @@ cifs_call_async(struct TCP_Server_Info *server, struct kvec *iov, return rc; mutex_lock(&server->srv_mutex); - rc = cifs_setup_async_request(server, iov, nvec, &mid); + rc = server->ops->setup_async_request(server, iov, nvec, &mid); if (rc) { mutex_unlock(&server->srv_mutex); add_credits(server, 1, optype); |