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

2017-10-10 Thread David Sterba
On Tue, Oct 03, 2017 at 06:06:01PM +0300, 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

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

2017-10-03 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 Reviewed-by: Nikolay Borisov --- fs/btrfs/inode.c | 10