From: Lennart Poettering Date: Thu, 18 Jul 2019 15:02:30 +0000 (+0200) Subject: mount: rename update_parameters_proc_self_mount_info() → update_parameters_proc_self_... X-Git-Tag: v243-rc1~86^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ddaa3e459845286cded1df4bd62f75b2ec91b54;p=thirdparty%2Fsystemd.git mount: rename update_parameters_proc_self_mount_info() → update_parameters_proc_self_mountinfo() let's name the call like the file in /proc is actually called. --- diff --git a/src/core/mount.c b/src/core/mount.c index eeacf3d00bc..fb6a516318d 100644 --- a/src/core/mount.c +++ b/src/core/mount.c @@ -233,7 +233,7 @@ _pure_ static MountParameters* get_mount_parameters(Mount *m) { return get_mount_parameters_fragment(m); } -static int update_parameters_proc_self_mount_info( +static int update_parameters_proc_self_mountinfo( Mount *m, const char *what, const char *options, @@ -1485,7 +1485,7 @@ static int mount_setup_new_unit( if (r < 0) return r; - r = update_parameters_proc_self_mount_info(MOUNT(u), what, options, fstype); + r = update_parameters_proc_self_mountinfo(MOUNT(u), what, options, fstype); if (r < 0) return r; @@ -1523,7 +1523,7 @@ static int mount_setup_existing_unit( return -ENOMEM; } - r = update_parameters_proc_self_mount_info(MOUNT(u), what, options, fstype); + r = update_parameters_proc_self_mountinfo(MOUNT(u), what, options, fstype); if (r < 0) return r; if (r > 0) @@ -1834,7 +1834,7 @@ static int mount_process_proc_self_mountinfo(Manager *m) { } mount->from_proc_self_mountinfo = false; - assert_se(update_parameters_proc_self_mount_info(mount, NULL, NULL, NULL) >= 0); + assert_se(update_parameters_proc_self_mountinfo(mount, NULL, NULL, NULL) >= 0); switch (mount->state) {