mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
homed: Minor function name cleanup
It's not actually a dbus method, just function that all the various dbus methods end up calling to update the user record. So rename it to reflect as such
This commit is contained in:
parent
5d490208a8
commit
7555fc9122
|
@ -415,7 +415,7 @@ int bus_home_method_authenticate(
|
|||
return 1;
|
||||
}
|
||||
|
||||
int bus_home_method_update_record(
|
||||
int bus_home_update_record(
|
||||
Home *h,
|
||||
sd_bus_message *message,
|
||||
UserRecord *hr,
|
||||
|
@ -487,7 +487,7 @@ int bus_home_method_update(
|
|||
return r;
|
||||
}
|
||||
|
||||
return bus_home_method_update_record(h, message, hr, blobs, flags, error);
|
||||
return bus_home_update_record(h, message, hr, blobs, flags, error);
|
||||
}
|
||||
|
||||
int bus_home_method_resize(
|
||||
|
|
|
@ -17,7 +17,6 @@ int bus_home_method_remove(sd_bus_message *message, void *userdata, sd_bus_error
|
|||
int bus_home_method_fixate(sd_bus_message *message, void *userdata, sd_bus_error *error);
|
||||
int bus_home_method_authenticate(sd_bus_message *message, void *userdata, sd_bus_error *error);
|
||||
int bus_home_method_update(sd_bus_message *message, void *userdata, sd_bus_error *error);
|
||||
int bus_home_method_update_record(Home *home, sd_bus_message *message, UserRecord *hr, Hashmap *blobs, uint64_t flags, sd_bus_error *error);
|
||||
int bus_home_method_resize(sd_bus_message *message, void *userdata, sd_bus_error *error);
|
||||
int bus_home_method_change_password(sd_bus_message *message, void *userdata, sd_bus_error *error);
|
||||
int bus_home_method_lock(sd_bus_message *message, void *userdata, sd_bus_error *error);
|
||||
|
@ -26,6 +25,8 @@ int bus_home_method_acquire(sd_bus_message *message, void *userdata, sd_bus_erro
|
|||
int bus_home_method_ref(sd_bus_message *message, void *userdata, sd_bus_error *error);
|
||||
int bus_home_method_release(sd_bus_message *message, void *userdata, sd_bus_error *error);
|
||||
|
||||
int bus_home_update_record(Home *home, sd_bus_message *message, UserRecord *hr, Hashmap *blobs, uint64_t flags, sd_bus_error *error);
|
||||
|
||||
extern const BusObjectImplementation home_object;
|
||||
|
||||
int bus_home_path(Home *h, char **ret);
|
||||
|
|
|
@ -592,7 +592,7 @@ static int method_update_home(sd_bus_message *message, void *userdata, sd_bus_er
|
|||
if (!h)
|
||||
return sd_bus_error_setf(error, BUS_ERROR_NO_SUCH_HOME, "No home for user %s known", hr->user_name);
|
||||
|
||||
return bus_home_method_update_record(h, message, hr, blobs, flags, error);
|
||||
return bus_home_update_record(h, message, hr, blobs, flags, error);
|
||||
}
|
||||
|
||||
static int method_resize_home(sd_bus_message *message, void *userdata, sd_bus_error *error) {
|
||||
|
|
Loading…
Reference in a new issue