]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb2e0e8c868d6e1ed2995bd9de2d3712a77689d3a
tree7199cd78b2278196bc07ccf8689b44a2cc13098f
parent0496927a1b7a400d9a5e2bd4f3043b7ef7ad6a30
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