]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Btrfs: consistent usage of types in balance_args
authorHans van Kranenburg <hans.van.kranenburg@mendix.com>
Wed, 8 Mar 2017 17:58:43 +0000 (18:58 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Apr 2017 12:07:25 +0000 (14:07 +0200)
commit261cc2cca0a8c1d817be65434052feb1db1fd961
tree765c59bb73159bd6df8de33cc4091f3be6624a93
parent4d339d01063a248b3deb3aff94aaf53be6e84e08
Btrfs: consistent usage of types in balance_args

The btrfs_balance_args are only used for the balance ioctl, so use __u
instead of __le here for consistency. The __le usage was introduced in
bc3094673f22d and dee32d0ac3719 and was probably a result of
copy/pasting when the code was written.

The usage of __le did not break anything, but it's unnecessary. Also,
this change makes the code less confusing for the careful reader.

Signed-off-by: Hans van Kranenburg <hans.van.kranenburg@mendix.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
include/uapi/linux/btrfs.h