Commit 33ebd47c authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

check: mnt_id is now in mainline

As of
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=49d063cb3
the mnt_id field is in mainline, so let's check for it in --ms.
Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent da1be409
...@@ -293,11 +293,6 @@ int check_mnt_id(void) ...@@ -293,11 +293,6 @@ int check_mnt_id(void)
struct fdinfo_common fdinfo = { .mnt_id = -1 }; struct fdinfo_common fdinfo = { .mnt_id = -1 };
int ret; int ret;
if (opts.check_ms_kernel) {
pr_warn("Skipping mnt_id support check\n");
return 0;
}
ret = parse_fdinfo(get_service_fd(LOG_FD_OFF), FD_TYPES__UND, NULL, &fdinfo); ret = parse_fdinfo(get_service_fd(LOG_FD_OFF), FD_TYPES__UND, NULL, &fdinfo);
if (ret < 0) if (ret < 0)
return -1; return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment