mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
dm: avoid spaces before function arguments or in favour of tabs
Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
This commit is contained in:
parent
beecc8438c
commit
8ca817c43e
14 changed files with 84 additions and 87 deletions
|
@ -673,16 +673,14 @@ static void list_version_get_info(struct target_type *tt, void *param)
|
|||
struct vers_iter *info = param;
|
||||
|
||||
/* Check space - it might have changed since the first iteration */
|
||||
if ((char *)info->vers + sizeof(tt->version) + strlen(tt->name) + 1 >
|
||||
info->end) {
|
||||
|
||||
if ((char *)info->vers + sizeof(tt->version) + strlen(tt->name) + 1 > info->end) {
|
||||
info->flags = DM_BUFFER_FULL_FLAG;
|
||||
return;
|
||||
}
|
||||
|
||||
if (info->old_vers)
|
||||
info->old_vers->next = (uint32_t) ((void *)info->vers -
|
||||
(void *)info->old_vers);
|
||||
info->old_vers->next = (uint32_t) ((void *)info->vers - (void *)info->old_vers);
|
||||
|
||||
info->vers->version[0] = tt->version[0];
|
||||
info->vers->version[1] = tt->version[1];
|
||||
info->vers->version[2] = tt->version[2];
|
||||
|
|
|
@ -67,8 +67,7 @@ struct path_selector_type {
|
|||
* Chooses a path for this io, if no paths are available then
|
||||
* NULL will be returned.
|
||||
*/
|
||||
struct dm_path *(*select_path) (struct path_selector *ps,
|
||||
size_t nr_bytes);
|
||||
struct dm_path *(*select_path)(struct path_selector *ps, size_t nr_bytes);
|
||||
|
||||
/*
|
||||
* Notify the selector that a path has failed.
|
||||
|
|
Loading…
Add table
Reference in a new issue