Home
last modified time | relevance | path

Searched hist:"214 cc184321743327c84c4a13ad08d088dfb3c4a" (Results 1 – 5 of 5) sorted by relevance

/linux/fs/btrfs/
H A Draid56.cdiff 214cc184321743327c84c4a13ad08d088dfb3c4a Mon Jul 26 14:15:26 CEST 2021 David Sterba <dsterba@suse.com> btrfs: constify and cleanup variables in comparators

Comparators just read the data and thus get const parameters. This
should be also preserved by the local variables, update all comparators
passed to sort or bsearch.

Cleanups:

- unnecessary casts are dropped
- btrfs_cmp_device_free_bytes is cleaned up to follow the common pattern
and 'inline' is dropped as the function address is taken

Signed-off-by: David Sterba <dsterba@suse.com>
H A Dsend.cdiff 214cc184321743327c84c4a13ad08d088dfb3c4a Mon Jul 26 14:15:26 CEST 2021 David Sterba <dsterba@suse.com> btrfs: constify and cleanup variables in comparators

Comparators just read the data and thus get const parameters. This
should be also preserved by the local variables, update all comparators
passed to sort or bsearch.

Cleanups:

- unnecessary casts are dropped
- btrfs_cmp_device_free_bytes is cleaned up to follow the common pattern
and 'inline' is dropped as the function address is taken

Signed-off-by: David Sterba <dsterba@suse.com>
H A Dsuper.cdiff 214cc184321743327c84c4a13ad08d088dfb3c4a Mon Jul 26 14:15:26 CEST 2021 David Sterba <dsterba@suse.com> btrfs: constify and cleanup variables in comparators

Comparators just read the data and thus get const parameters. This
should be also preserved by the local variables, update all comparators
passed to sort or bsearch.

Cleanups:

- unnecessary casts are dropped
- btrfs_cmp_device_free_bytes is cleaned up to follow the common pattern
and 'inline' is dropped as the function address is taken

Signed-off-by: David Sterba <dsterba@suse.com>
H A Dtree-log.cdiff 214cc184321743327c84c4a13ad08d088dfb3c4a Mon Jul 26 14:15:26 CEST 2021 David Sterba <dsterba@suse.com> btrfs: constify and cleanup variables in comparators

Comparators just read the data and thus get const parameters. This
should be also preserved by the local variables, update all comparators
passed to sort or bsearch.

Cleanups:

- unnecessary casts are dropped
- btrfs_cmp_device_free_bytes is cleaned up to follow the common pattern
and 'inline' is dropped as the function address is taken

Signed-off-by: David Sterba <dsterba@suse.com>
H A Dvolumes.cdiff 214cc184321743327c84c4a13ad08d088dfb3c4a Mon Jul 26 14:15:26 CEST 2021 David Sterba <dsterba@suse.com> btrfs: constify and cleanup variables in comparators

Comparators just read the data and thus get const parameters. This
should be also preserved by the local variables, update all comparators
passed to sort or bsearch.

Cleanups:

- unnecessary casts are dropped
- btrfs_cmp_device_free_bytes is cleaned up to follow the common pattern
and 'inline' is dropped as the function address is taken

Signed-off-by: David Sterba <dsterba@suse.com>