Re: [PATCH] Btrfs: compress_file_range() remove dead variable num_bytes

2017-09-26 Thread Nikolay Borisov
On 12.09.2017 00:15, Timofey Titovets wrote: > Remove dead assigment of num_bytes > > Also as num_bytes only used in will_compress block as > copy of total_in just replace that with total_in and drop num_bytes entire > > Signed-off-by: Timofey Titovets Reviewed-by: Nikolay Borisov > --- >

[PATCH] Btrfs: compress_file_range() remove dead variable num_bytes

2017-09-11 Thread Timofey Titovets
Remove dead assigment of num_bytes Also as num_bytes only used in will_compress block as copy of total_in just replace that with total_in and drop num_bytes entire Signed-off-by: Timofey Titovets --- fs/btrfs/inode.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a