mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-analyze: ensure relative path on entry
This commit is contained in:
@ -161,6 +161,9 @@ sysprof_mount_namespace_find_device (SysprofMountNamespace *self,
|
||||
g_assert (SYSPROF_IS_MOUNT_NAMESPACE (self));
|
||||
g_assert (SYSPROF_IS_MOUNT (mount));
|
||||
|
||||
while (relative_path[0] == '/')
|
||||
relative_path++;
|
||||
|
||||
mount_source = sysprof_mount_get_mount_source (mount);
|
||||
subvolume = sysprof_mount_get_superblock_option (mount, "subvol");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user