From: Yu Watanabe Date: Thu, 5 Sep 2024 04:54:31 +0000 (+0900) Subject: mount-util: wrap long line X-Git-Tag: v257-rc1~541^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd86e6c45c158e7cc67681fdef05a0325dc23f99;p=thirdparty%2Fsystemd.git mount-util: wrap long line --- diff --git a/src/shared/mount-util.c b/src/shared/mount-util.c index 3992afe8c7d..d98df3809dc 100644 --- a/src/shared/mount-util.c +++ b/src/shared/mount-util.c @@ -1445,7 +1445,14 @@ int remount_idmap_fd( return 0; } -int remount_idmap(char **p, uid_t uid_shift, uid_t uid_range, uid_t source_owner, uid_t dest_owner,RemountIdmapping idmapping) { +int remount_idmap( + char **p, + uid_t uid_shift, + uid_t uid_range, + uid_t source_owner, + uid_t dest_owner, + RemountIdmapping idmapping) { + _cleanup_close_ int userns_fd = -EBADF; userns_fd = make_userns(uid_shift, uid_range, source_owner, dest_owner, idmapping); @@ -1500,6 +1507,7 @@ static int get_sub_mounts( const char *prefix, SubMount **ret_mounts, size_t *ret_n_mounts) { + _cleanup_(mnt_free_tablep) struct libmnt_table *table = NULL; _cleanup_(mnt_free_iterp) struct libmnt_iter *iter = NULL; SubMount *mounts = NULL;