btrfs: drop lock parameter from update_ioctl_balance_args and rename
authorDavid Sterba <dsterba@suse.com>
Wed, 21 Mar 2018 01:05:27 +0000 (02:05 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:26 +0000 (18:07 +0200)
commit008ef0969dd966ccb567d9c5c6e606f68119a380
treef35b6138a892cbcdd135bd9c10fad348bfb0d38a
parentcf7d20f447147105b6c1a98aaf586d03f51bcc25
btrfs: drop lock parameter from update_ioctl_balance_args and rename

The parameter controls locking of the stats part but we can lock it
unconditionally, as this only happens once when balance starts. This is
not performance critical.

Add the prefix for an exported function.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/ioctl.c
fs/btrfs/volumes.c