diff options
author | Nicholas Swenson <nks@daterainc.com> | 2013-10-22 22:19:23 +0200 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-12-16 23:22:57 +0100 |
commit | 9eb8ebeb2471b8cbaa078066aeb85fe5d46f5304 (patch) | |
tree | 586d6a44ec253f64198d002fe1f77b6ecff78157 /drivers | |
parent | bcache: Fix dirty_data accounting (diff) | |
download | linux-9eb8ebeb2471b8cbaa078066aeb85fe5d46f5304.tar.xz linux-9eb8ebeb2471b8cbaa078066aeb85fe5d46f5304.zip |
bcache: Fix for can_attach_cache()
Signed-off-by: Nicholas Swenson <nks@daterainc.com>
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/md/bcache/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c index dec15cd2d797..c57bfa071a57 100644 --- 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.block_size && + ca->sb.bucket_size == c->sb.bucket_size && ca->sb.nr_in_set == c->sb.nr_in_set; } |