]> git.baikalelectronics.ru Git - kernel.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)
commit392e5b55c2056ac5615dc881ab7a7f0ce41ab08e
tree765c59bb73159bd6df8de33cc4091f3be6624a93
parent93b9f85812eac27519a4737c5c8918d4f7677ff1
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
ad94b853a99ce and 766cf2046cf8b 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