Skip to content

Commit

Permalink
bcache: Fix for can_attach_cache()
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Swenson <nks@daterainc.com>
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
  • Loading branch information
Nicholas Swenson authored and Kent Overstreet committed Dec 16, 2013
1 parent d24a6e1 commit 9eb8ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/bcache/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1676,7 +1676,7 @@ static void run_cache_set(struct cache_set *c)
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;
}

Expand Down

0 comments on commit 9eb8ebe

Please sign in to comment.