Re: [PATCH 3/3] btrfs: remove dead code from btrfs_get_extent

2017-11-21 Thread Nikolay Borisov
On 20.11.2017 22:24, Edmund Nadolski wrote: > Due to new_inline logic, the create == 0 is always true at this > point in the code, so the create != 0 branch can be removed. > > Signed-off-by: Edmund Nadolski Reviewed-by: Nikolay Borisov > --- > fs/btrfs/inode.c | 22 +- >

[PATCH 3/3] btrfs: remove dead code from btrfs_get_extent

2017-11-20 Thread Edmund Nadolski
Due to new_inline logic, the create == 0 is always true at this point in the code, so the create != 0 branch can be removed. Signed-off-by: Edmund Nadolski --- fs/btrfs/inode.c | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/