btrfs: remove constant parameter to memset_extent_buffer and rename it
authorDavid Sterba <dsterba@suse.com>
Tue, 8 Nov 2016 17:09:03 +0000 (18:09 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 30 Nov 2016 12:45:17 +0000 (13:45 +0100)
commitb159fa2808b1b53d784807a48ad95fa809be10b0
treefc5c081987f9a01dae93a05162d736d91af86dff
parentfba1acf9ff77656e3b9f5c0f7b6a52c93e4932ec
btrfs: remove constant parameter to memset_extent_buffer and rename it

The only memset we do is to 0, so sink the parameter to the function and
simplify all calls. Rename the function to reflect the behaviour.

Signed-off-by: David Sterba <dsterba@suse.com>
12 files changed:
fs/btrfs/ctree.c
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/file-item.c
fs/btrfs/free-space-cache.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/relocation.c
fs/btrfs/tests/extent-io-tests.c
fs/btrfs/volumes.c