Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142326
b: refs/heads/master
c: 2cf3a11
h: refs/heads/master
v: v3
  • Loading branch information
Marcin Slusarz authored and David Woodhouse committed Apr 3, 2009
1 parent 709ce3c commit 6b08182
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: 61dd7eb876344904aece6b1837da6ea1cbadbc07
refs/heads/master: 2cf3a11494b15949835ff92a7af15f979ac37bbd
3 changes: 2 additions & 1 deletion trunk/drivers/mtd/mtd_blkdevs.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,11 +382,12 @@ int register_mtd_blktrans(struct mtd_blktrans_ops *tr)
tr->blkcore_priv->thread = kthread_run(mtd_blktrans_thread, tr,
"%sd", tr->name);
if (IS_ERR(tr->blkcore_priv->thread)) {
int ret = PTR_ERR(tr->blkcore_priv->thread);
blk_cleanup_queue(tr->blkcore_priv->rq);
unregister_blkdev(tr->major, tr->name);
kfree(tr->blkcore_priv);
mutex_unlock(&mtd_table_mutex);
return PTR_ERR(tr->blkcore_priv->thread);
return ret;
}

INIT_LIST_HEAD(&tr->devs);
Expand Down

0 comments on commit 6b08182

Please sign in to comment.