Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62743
b: refs/heads/master
c: df46882
h: refs/heads/master
i:
  62741: 8fc20c7
  62739: ab37581
  62735: 66ecdbd
v: v3
  • Loading branch information
FUJITA Tomonori authored and James Bottomley committed Jul 21, 2007
1 parent 39a2dee commit 29371db
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: 39dca558a5b52b63e49bc234a7e887be092aa690
refs/heads/master: df468820b6881fc14e50f6b2fcffd3e945417d68
3 changes: 2 additions & 1 deletion trunk/block/bsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,8 @@ void bsg_unregister_queue(struct request_queue *q)
{
struct bsg_class_device *bcd = &q->bsg_dev;

WARN_ON(!bcd->class_dev);
if (!bcd->class_dev)
return;

mutex_lock(&bsg_mutex);
sysfs_remove_link(&q->kobj, "bsg");
Expand Down

0 comments on commit 29371db

Please sign in to comment.