Merge pull request #3909 from poettering/mount-tool

add a new tool for creating transient mount and automount units
This commit is contained in:
Evgeny Vereshchagin
2016-08-19 23:33:49 +03:00
committed by GitHub
14 changed files with 1462 additions and 32 deletions
-1
View File
@@ -75,7 +75,6 @@ static int fd_fdinfo_mnt_id(int fd, const char *filename, int flags, int *mnt_id
return safe_atoi(p, mnt_id);
}
int fd_is_mount_point(int fd, const char *filename, int flags) {
union file_handle_union h = FILE_HANDLE_INIT, h_parent = FILE_HANDLE_INIT;
int mount_id = -1, mount_id_parent = -1;