diff options
author | Lu Fengqi <lufq.fnst@cn.fujitsu.com> | 2018-10-15 09:25:38 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-10-17 20:21:00 +0300 |
commit | 0a9df0df17a011fa4d17277a8c8dd662668c6426 (patch) | |
tree | 683157edc234c77d7b2553a70df33f22b248c65c /drivers/spi/spi-atmel.c | |
parent | 5ce555578e0919237fa4bda92b4670e2dd176f85 (diff) | |
download | linux-0a9df0df17a011fa4d17277a8c8dd662668c6426.tar.xz |
btrfs: delayed-ref: extract find_first_ref_head from find_ref_head
The find_ref_head shouldn't return the first entry even if no exact match
is found. So move the hidden behavior to higher level.
Besides, remove the useless local variables in the btrfs_select_ref_head.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
[ reformat comment ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'drivers/spi/spi-atmel.c')
0 files changed, 0 insertions, 0 deletions