Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nfs: Fix incorrect engine registering for '--enghelp' list #1659

Merged
merged 1 commit into from
Oct 25, 2023
Merged

nfs: Fix incorrect engine registering for '--enghelp' list #1659

merged 1 commit into from
Oct 25, 2023

Commits on Oct 25, 2023

  1. nfs: Fix incorrect engine registering for '--enghelp' list

    `ioengine` from `nfs` (internal) engine is incorrectly exported thus
    overriding its value in constructor callbacks of other external engines,
    that are used for registering engine for listing with `--enghelp`.
    
    Because flist is unsafe to double adding it also making `engine_list` to
    become corrupt and causing infinite loop or abnormal list termination
    when printing engine list.
    
    Issue: #1655
    Fixes: 9326926 ("NFS engine")
    Signed-off-by: Vitaly Chikunov <vt@altlinux.org>
    vt-alt committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    0905f37 View commit details
    Browse the repository at this point in the history