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

[release-1.40] drivers: enhance check for mount fs type #1276

Merged
merged 1 commit into from Jun 29, 2022

Conversation

nalind
Copy link
Member

@nalind nalind commented Jun 29, 2022

When checking that a mountpoint is a specific file system type, also validate that it is on a different filesystem than its parent directory.

This helps when using virtiofs as the underlying file system for storage since the check used for fuse-overlayfs would previously fail since they both use FUSE.

Cherry-picked from #1261.

when checking that a mount has a specific file system type, also
validate that it is on a different than its parent directory.

This helps when using virtiofs as the underlying file system since the
check used for fuse-overlayfs would fail since they both use FUSE.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@rhatdan
Copy link
Member

rhatdan commented Jun 29, 2022

LGTM

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.

None yet

3 participants