commit | a27895de357370991bcc16516f68646c5ee59def | [log] [tgz] |
---|---|---|
author | Johannes Thumshirn <jthumshirn@suse.de> | Thu Oct 17 15:41:15 2019 +0200 |
committer | Johannes Thumshirn <jthumshirn@suse.de> | Fri Oct 18 11:51:54 2019 +0200 |
tree | 8b01910046579b283a086ad72580537c51310526 | |
parent | 82b3b79aeaa17fe434abd35e932987c8a794e0b4 [diff] |
btrfs: remove pointless indentation in btrfs_read_sys_array() Instead of checking if we've read a BTRFS_CHUNK_ITEM_KEY from disk and then process it we could just bail out early if the read disk key wasn't a BTRFS_CHUNK_ITEM_KEY. This removes a level of indentation and makes the code nicer to read. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>