在 16/5/11 下午2:02, Yijing Wang 写道: > We have assigned sb->block_size before the switch, > so remove the redundant one. > > Signed-off-by: Yijing Wang <wangyijing@xxxxxxxxxx> Reviewed-by: Coly Li <colyli@xxxxxxx> > --- > drivers/md/bcache/super.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c > index 1ccb9be..64d0be6 100644 > --- a/drivers/md/bcache/super.c > +++ b/drivers/md/bcache/super.c > @@ -134,7 +134,6 @@ static const char *read_super(struct cache_sb *sb, struct block_device *bdev, > case BCACHE_SB_VERSION_CDEV: > case BCACHE_SB_VERSION_CDEV_WITH_UUID: > sb->nbuckets = le64_to_cpu(s->nbuckets); > - sb->block_size = le16_to_cpu(s->block_size); > sb->bucket_size = le16_to_cpu(s->bucket_size); > > sb->nr_in_set = le16_to_cpu(s->nr_in_set); > -- Coly Li -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html