]> 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)
commitf255cda630d58c35d7dea4b59e14b1fc26e657d8
tree765c59bb73159bd6df8de33cc4091f3be6624a93
parent0601ddcbc121dbf56bac145ae814d7442e4e02e6
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
badf80a5c31b5 and e42806baa6d80 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