btrfs: Remove redundant argument of flush_space
authorNikolay Borisov <nborisov@suse.com>
Tue, 11 Jul 2017 10:25:13 +0000 (13:25 +0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 14:12:01 +0000 (16:12 +0200)
commit7bdd6277e0dc2beb4f5db5ea4ff7670ecf0b5879
tree7199cd78b2278196bc07ccf8689b44a2cc13098f
parent6c6b5a39c4bf3dbd8cf629c9f5450e983c19dbb9
btrfs: Remove redundant argument of flush_space

All callers of flush_space pass the same number for orig/num_bytes
arguments. Let's remove one of the numbers and also modify the trace
point to show only a single number - bytes requested.

Seems that last point where the two parameters were treated differently
is before the ticketed enospc rework.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
include/trace/events/btrfs.h