aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2021-05-31 10:37:03 +0300
committerDavid Sterba <dsterba@suse.com>2021-06-21 15:19:07 +0200
commitec87b42f7095a92e484e34c2c9bb486ae79d6548 (patch)
treeefc89545f5b39d978604feca6ae9719e4876fb93 /fs/btrfs/scrub.c
parentbtrfs: fix comment about max_out in btrfs_compress_pages (diff)
downloadlinux-rng-ec87b42f7095a92e484e34c2c9bb486ae79d6548.tar.xz
linux-rng-ec87b42f7095a92e484e34c2c9bb486ae79d6548.zip
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>
Diffstat (limited to 'fs/btrfs/scrub.c')
0 files changed, 0 insertions, 0 deletions