bcache: Fix indentation
authorBart Van Assche <bart.vanassche@wdc.com>
Mon, 19 Mar 2018 00:36:26 +0000 (17:36 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 19 Mar 2018 02:15:20 +0000 (20:15 -0600)
This patch avoids that smatch complains about inconsistent indentation.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Michael Lyle <mlyle@lyle.org>
Reviewed-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/btree.c
drivers/md/bcache/writeback.h

index d64aff0..143ed5a 100644 (file)
@@ -2178,7 +2178,7 @@ int bch_btree_insert_check_key(struct btree *b, struct btree_op *op,
 
                if (b->key.ptr[0] != btree_ptr ||
                    b->seq != seq + 1) {
-                       op->lock = b->level;
+                       op->lock = b->level;
                        goto out;
                }
        }
index 0bba8f1..610fb01 100644 (file)
@@ -39,7 +39,7 @@ static inline uint64_t  bcache_flash_devs_sectors_dirty(struct cache_set *c)
 
                if (!d || !UUID_FLASH_ONLY(&c->uuids[i]))
                        continue;
-          ret += bcache_dev_sectors_dirty(d);
+               ret += bcache_dev_sectors_dirty(d);
        }
 
        mutex_unlock(&bch_register_lock);