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

mountinfo: GetMountsFromReader() remove workaround for kernel < 3.10 #83

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 23, 2021

  1. mountinfo: GetMountsFromReader() remove workaround for kernel < 3.10

    In Linux <= 3.9 mounting a cifs with spaces in a share name (like "//srv/My Docs")
    _may_ end up having a space in the last field of mountinfo (like "unc=//serv/My Docs").
    
    Since kernel 3.10-rc1, cifs option "unc=" is ignored, so spaces should not appear.
    
    Given that all major distros are now on at least kernel 3.10, and (e.g.) docker
    has not supported older kernel versions for 5 Years [1], it should be save to
    remove this special handling.
    
    [1]: moby/moby@51b23d8
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Aug 23, 2021
    Configuration menu
    Copy the full SHA
    955e12d View commit details
    Browse the repository at this point in the history