]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: tests: remove if duplicate in __check_free_space_extents()
authorDenis Efremov <efremov@linux.com>
Mon, 22 Jun 2020 20:18:41 +0000 (23:18 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 27 Jul 2020 10:55:27 +0000 (12:55 +0200)
commit2f379a2f0e4594f999a90b0bed49617df110c260
tree708a3b7bfd588ec6c23dfdb31afefb3ebadad4ae
parent442fa5b29e91ccfe401e36b1baa347106b85699a
btrfs: tests: remove if duplicate in __check_free_space_extents()

num_extents is already checked in the next if condition and can
be safely removed.

Signed-off-by: Denis Efremov <efremov@linux.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/tests/free-space-tree-tests.c