diff --git a/src/home/homework-mount.c b/src/home/homework-mount.c index cf42a0b94df..130617a157f 100644 --- a/src/home/homework-mount.c +++ b/src/home/homework-mount.c @@ -184,7 +184,7 @@ static int append_identity_range(char **text, uid_t start, uid_t next_start, uid exclude + 1, exclude + 1, next_start - exclude - 1); } -static int make_userns(uid_t stored_uid, uid_t exposed_uid) { +static int make_home_userns(uid_t stored_uid, uid_t exposed_uid) { _cleanup_free_ char *text = NULL; _cleanup_close_ int userns_fd = -EBADF; int r; @@ -269,7 +269,7 @@ int home_shift_uid(int dir_fd, const char *target, uid_t stored_uid, uid_t expos return log_error_errno(errno, "Failed to open tree of home directory: %m"); } - userns_fd = make_userns(stored_uid, exposed_uid); + userns_fd = make_home_userns(stored_uid, exposed_uid); if (userns_fd < 0) return userns_fd;