commit | ec87b42f7095a92e484e34c2c9bb486ae79d6548 | [log] [tgz] |
---|---|---|
author | Nikolay Borisov <nborisov@suse.com> | Mon May 31 10:37:03 2021 +0300 |
committer | David Sterba <dsterba@suse.com> | Mon Jun 21 15:19:07 2021 +0200 |
tree | efc89545f5b39d978604feca6ae9719e4876fb93 | |
parent | 4183abf6cbfd8e71c5e19df697d8e43f1a2a6908 [diff] |
btrfs: use list_last_entry in add_falloc_range Instead of calling list_entry with head->prev simply call list_last_entry which makes it obvious which member of the list is being referred. This allows to remove the extra 'prev' pointer. Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>