projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b001836
)
block: remove duplicate BUG_ON() in bd_finish_claiming()
author
Jens Axboe
<jaxboe@fusionio.com>
Mon, 7 Jun 2010 18:17:38 +0000
(20:17 +0200)
committer
Jens Axboe
<jaxboe@fusionio.com>
Thu, 10 Jun 2010 17:08:34 +0000
(19:08 +0200)
We do the same BUG_ON() just a line later when calling into
__bd_abort_claiming().
Reported-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fs/block_dev.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/block_dev.c
b/fs/block_dev.c
index a1642ef6019740ededb3e91d690a056e03484227..99d6af8117473b661a64a5f05e58a024570d4fe0 100644
(file)
--- a/
fs/block_dev.c
+++ b/
fs/block_dev.c
@@
-817,7
+817,6
@@
static void bd_finish_claiming(struct block_device *bdev,
struct block_device *whole, void *holder)
{
spin_lock(&bdev_lock);
- BUG_ON(whole->bd_claiming != holder);
BUG_ON(!bd_may_claim(bdev, whole, holder));
__bd_claim(bdev, whole, holder);
__bd_abort_claiming(whole, holder); /* not actually an abort */