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

Fix error handling with not-exist errors on remove #33960

Merged
merged 1 commit into from
Jul 21, 2017

Commits on Jul 20, 2017

  1. Fix error handling with not-exist errors on remove

    Specifically, none of the graphdrivers are supposed to return a
    not-exist type of error on remove (or at least that's how they are
    currently handled).
    
    Found that AUFS still had one case where a not-exist error could escape,
    when checking if the directory is mounted we call a `Statfs` on the
    path.
    
    This fixes AUFS to not return an error in this case, but also
    double-checks at the daemon level on layer remove that the error is not
    a `not-exist` type of error.
    
    Signed-off-by: Brian Goff <cpuguy83@gmail.com>
    cpuguy83 committed Jul 20, 2017
    Configuration menu
    Copy the full SHA
    d42dbdd View commit details
    Browse the repository at this point in the history