commit | 3522e90301d7a669288611cb7e73cab4ac135545 | [log] [tgz] |
---|---|---|
author | Lu Fengqi <lufq.fnst@cn.fujitsu.com> | Thu Nov 29 11:33:38 2018 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Dec 17 14:51:44 2018 +0100 |
tree | 9a65fe8672303ca491a347da10c635c77bb8250e | |
parent | 27a7ff554e8d349627a90bda275c527b7348adae [diff] |
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>