Commit eb7893e9 authored by Stanislav Kinsburskiy's avatar Stanislav Kinsburskiy Committed by Pavel Emelyanov

autofs: do not treat old kernel as error in autofs_parse()

Otherwise dump fails.
Signed-off-by: 's avatarStanislav Kinsburskiy <skinsbursky@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 6c9da55f
......@@ -71,8 +71,8 @@ int autofs_parse(struct mount_info *pm)
free(opts);
if (pipe_ino == AUTOFS_OPT_UNKNOWN) {
pr_err("Failed to find pipe_ino option (old kernel?)\n");
return -1;
pr_warn("Failed to find pipe_ino option (old kernel?)\n");
return 0;
}
return autofs_gather_pipe(pipe_ino);
......
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