projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d24a6e1
)
bcache: Fix for can_attach_cache()
author
Nicholas Swenson
<nks@daterainc.com>
Tue, 22 Oct 2013 20:19:23 +0000
(13:19 -0700)
committer
Kent Overstreet
<kmo@daterainc.com>
Mon, 16 Dec 2013 22:22:57 +0000
(14:22 -0800)
Signed-off-by: Nicholas Swenson <nks@daterainc.com>
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/super.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/bcache/super.c
b/drivers/md/bcache/super.c
index dec15cd2d797eaaa7fa0585abf8867c9f70a4cef..c57bfa071a57c58b06fabeb194cbf98f5f4fbf56 100644
(file)
--- a/
drivers/md/bcache/super.c
+++ b/
drivers/md/bcache/super.c
@@
-1676,7
+1676,7
@@
err:
static bool can_attach_cache(struct cache *ca, struct cache_set *c)
{
return ca->sb.block_size == c->sb.block_size &&
- ca->sb.bucket_size == c->sb.b
lock
_size &&
+ ca->sb.bucket_size == c->sb.b
ucket
_size &&
ca->sb.nr_in_set == c->sb.nr_in_set;
}