Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206829
b: refs/heads/master
c: 08bd34c
h: refs/heads/master
i:
  206827: 25efa86
v: v3
  • Loading branch information
Jay Fenlason authored and Stefan Richter committed Jun 20, 2010
1 parent 131a07f commit 4ade4ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bdfe273ee54b29498851fc8058516037d284270c
refs/heads/master: 08bd34c98d631fe85744d4c920c80f48a1d95f54
7 changes: 4 additions & 3 deletions trunk/drivers/firewire/core-cdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ struct outbound_transaction_resource {

struct inbound_transaction_resource {
struct client_resource resource;
struct fw_card *card;
struct fw_request *request;
void *data;
size_t length;
Expand Down Expand Up @@ -625,8 +626,7 @@ static void release_request(struct client *client,
if (is_fcp_request(r->request))
kfree(r->data);
else
fw_send_response(client->device->card, r->request,
RCODE_CONFLICT_ERROR);
fw_send_response(r->card, r->request, RCODE_CONFLICT_ERROR);
kfree(r);
}

Expand All @@ -646,6 +646,7 @@ static void handle_request(struct fw_card *card, struct fw_request *request,
if (r == NULL || e == NULL)
goto failed;

r->card = card;
r->request = request;
r->data = payload;
r->length = length;
Expand Down Expand Up @@ -765,7 +766,7 @@ static int ioctl_send_response(struct client *client, union ioctl_arg *arg)
kfree(r->request);
goto out;
}
fw_send_response(client->device->card, r->request, a->rcode);
fw_send_response(r->card, r->request, a->rcode);
out:
kfree(r);

Expand Down

0 comments on commit 4ade4ea

Please sign in to comment.