diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-12-12 09:42:34 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-02-25 14:13:18 +0100 |
commit | 02950af4e3b7dbbb9c5483da4d93d53ed0fd27a8 (patch) | |
tree | 259a0732f631d4429baa92c720c7dc273144cc9c /fs/btrfs/ioctl.c | |
parent | f3714ef479d24d436d8cda0f1011c4001aee409c (diff) |
btrfs: Remove redundant assignment in btrfs_get_extent_fiemap
hole_len is only used if the hole falls within the requested range. Make
that explicitly clear by only assigning in the corresponding branch.
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions