Btrfs: remove always true if branch in btrfs_get_extent
authorLiu Bo <bo.liu@linux.alibaba.com>
Thu, 16 Aug 2018 21:05:28 +0000 (05:05 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:27 +0000 (17:23 +0200)
commitbee6ec822a6a686d1b8ac65298b07765a48aefad
tree4f260eb96faf5365c0143b76093c6031737af25f
parent9c7b0c2e8dbfbcd80a71e2cbfe02704f26c185c6
Btrfs: remove always true if branch in btrfs_get_extent

@path is always NULL when it comes to the if branch.

Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c