Skip to content

ops: fix readwrite mounts it no output#1124

Merged
AkihiroSuda merged 2 commits intomoby:masterfrom
tonistiigi:readwrite-nooutput
Aug 9, 2019
Merged

ops: fix readwrite mounts it no output#1124
AkihiroSuda merged 2 commits intomoby:masterfrom
tonistiigi:readwrite-nooutput

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

#922 had a bug that caused readwrite mounts with no outputs to be mounted as readonly

Fix this and add a cap so that new frontends would rather use inefficient caching than mount in a wrong way when talking with old servers.

mountable = active
}
} else if ref == nil {
} else if m.Dest != pb.RootMount {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tonistiigi can you explain this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

root mount has special handling below

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants