Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 221508
b: refs/heads/master
c: c4df46c
h: refs/heads/master
v: v3
  • Loading branch information
Boaz Harrosh authored and James Bottomley committed Oct 26, 2010
1 parent 98658e0 commit c599a2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: ec6a0a41b57feb54b3830918a8fb07147c2ee778
refs/heads/master: c4df46c49d8677158c7fb070a08e0d386c80205f
9 changes: 5 additions & 4 deletions trunk/drivers/scsi/osd/osd_initiator.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,10 +452,6 @@ void osd_end_request(struct osd_request *or)
{
struct request *rq = or->request;

_osd_free_seg(or, &or->set_attr);
_osd_free_seg(or, &or->enc_get_attr);
_osd_free_seg(or, &or->get_attr);

if (rq) {
if (rq->next_rq) {
_put_request(rq->next_rq);
Expand All @@ -464,6 +460,11 @@ void osd_end_request(struct osd_request *or)

_put_request(rq);
}

_osd_free_seg(or, &or->get_attr);
_osd_free_seg(or, &or->enc_get_attr);
_osd_free_seg(or, &or->set_attr);

_osd_request_free(or);
}
EXPORT_SYMBOL(osd_end_request);
Expand Down

0 comments on commit c599a2f

Please sign in to comment.