From 9ddaa3e459845286cded1df4bd62f75b2ec91b54 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 18 Jul 2019 17:02:30 +0200 Subject: [PATCH] =?utf8?q?mount:=20rename=20update=5Fparameters=5Fproc=5Fs?= =?utf8?q?elf=5Fmount=5Finfo()=20=E2=86=92=20update=5Fparameters=5Fproc=5F?= =?utf8?q?self=5Fmountinfo()?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit let's name the call like the file in /proc is actually called. --- src/core/mount.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) { -- 2.47.3