Re: [PATCH] Btrfs: remove always true if branch in btrfs_get_extent

2018-08-17 Thread David Sterba
On Fri, Aug 17, 2018 at 05:05:28AM +0800, Liu Bo wrote: > @path is always NULL when it comes to the if branch. > > Signed-off-by: Liu Bo Reviewed-by: David Sterba

[PATCH] Btrfs: remove always true if branch in btrfs_get_extent

2018-08-16 Thread Liu Bo
@path is always NULL when it comes to the if branch. Signed-off-by: Liu Bo --- fs/btrfs/inode.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 8b135a46835f..4b79916472fb 100644 --- a/fs/btrfs/inode.c +++