Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195911
b: refs/heads/master
c: e4d64ca
h: refs/heads/master
i:
  195909: 89d85f8
  195907: f461287
  195903: b7d89f3
v: v3
  • Loading branch information
Maxim Levitsky authored and David Woodhouse committed Mar 9, 2010
1 parent 4cae431 commit 221c6c9
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 7de6f798e13093536b6cb229213db2fab6e6555f
refs/heads/master: e4d64cab99a2d659bf9d6fe9ab67666bceb68d87
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/mtd_blkdevs.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ void blktrans_dev_release(struct kref *kref)
container_of(kref, struct mtd_blktrans_dev, ref);

dev->disk->private_data = NULL;
blk_cleanup_queue(dev->rq);
put_disk(dev->disk);
list_del(&dev->list);
kfree(dev);
Expand Down Expand Up @@ -423,7 +424,6 @@ int del_mtd_blktrans_dev(struct mtd_blktrans_dev *old)
old->rq->queuedata = NULL;
blk_start_queue(old->rq);
spin_unlock_irqrestore(&old->queue_lock, flags);
blk_cleanup_queue(old->rq);

/* Ask trans driver for release to the mtd device */
mutex_lock(&old->lock);
Expand Down

0 comments on commit 221c6c9

Please sign in to comment.