]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: call btrfs_create_pending_block_groups unconditionally
authorJosef Bacik <josef@toxicpanda.com>
Wed, 21 Nov 2018 19:05:42 +0000 (14:05 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Feb 2019 13:13:25 +0000 (14:13 +0100)
commit8bf78a45baf24dafc242b49a9d4c5fdc88f6ad50
treeca870b175ea2b1596206091af074dd19630ab8d2
parent7ea5907edeff90e5eea1bd5d3f4b0941da2dc9a6
btrfs: call btrfs_create_pending_block_groups unconditionally

The first thing we do is loop through the list, this

if (!list_empty())
btrfs_create_pending_block_groups();

thing is just wasted space.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
fs/btrfs/transaction.c