OpenCloudOS-Kernel/fs/btrfs/tests
Lu Fengqi 3522e90301 btrfs: remove always true if branch in find_delalloc_range
The @found is always false when it comes to the if branch. Besides, the
bool type is more suitable for @found. Change the return value of the
function and its caller to bool as well.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2018-12-17 14:51:44 +01:00
..
btrfs-tests.c btrfs: Adjust loop in free_extent_buffer 2018-12-17 14:51:31 +01:00
btrfs-tests.h btrfs: tests: drop newline from test_msg strings 2018-05-29 18:12:52 +02:00
extent-buffer-tests.c btrfs: tests: drop newline from test_msg strings 2018-05-29 18:12:52 +02:00
extent-io-tests.c btrfs: remove always true if branch in find_delalloc_range 2018-12-17 14:51:44 +01:00
extent-map-tests.c Btrfs: extent_map: use rb_first_cached 2018-10-15 17:23:33 +02:00
free-space-tests.c btrfs: tests: drop newline from test_msg strings 2018-05-29 18:12:52 +02:00
free-space-tree-tests.c btrfs: tests: drop newline from test_msg strings 2018-05-29 18:12:52 +02:00
inode-tests.c btrfs: Adjust loop in free_extent_buffer 2018-12-17 14:51:31 +01:00
qgroup-tests.c btrfs: qgroup: Drop fs_info parameter from btrfs_qgroup_account_extent 2018-08-06 13:12:52 +02:00