Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98871
b: refs/heads/master
c: 8df5fc0
h: refs/heads/master
i:
  98869: 32912a6
  98867: 0e9e9c0
  98863: 0c32075
v: v3
  • Loading branch information
James Bottomley authored and James Bottomley committed Jul 12, 2008
1 parent 6fa978b commit 1ef0609
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 27898988174bb211fd962ea73b9c6dc09f888705
refs/heads/master: 8df5fc042c8e7c08dc438c8198b62407ee1e91a0
3 changes: 2 additions & 1 deletion trunk/block/bsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -709,11 +709,12 @@ static void bsg_kref_release_function(struct kref *kref)
{
struct bsg_class_device *bcd =
container_of(kref, struct bsg_class_device, ref);
struct device *parent = bcd->parent;

if (bcd->release)
bcd->release(bcd->parent);

put_device(bcd->parent);
put_device(parent);
}

static int bsg_put_device(struct bsg_device *bd)
Expand Down

0 comments on commit 1ef0609

Please sign in to comment.