interfaces/mount: add OptsToFlags for converting arguments to syscall… #3131

Merged
merged 1 commit into from Apr 4, 2017

Conversation

Projects
None yet
2 participants
Contributor

zyga commented Apr 3, 2017

….Mount

The syscall.Mount function expects a flags argument but mount.Entry.Options
is an array of strings. We need a helper to convert from one to the other.

Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@canonical.com

interfaces/mount: add OptsToFlags for converting arguments to syscall…
….Mount

The syscall.Mount function expects a flags argument but mount.Entry.Options
is an array of strings. We need a helper to convert from one to the other.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

mvo5 approved these changes Apr 4, 2017

@zyga zyga merged commit 1cff3f0 into snapcore:master Apr 4, 2017

1 of 6 checks passed

xenial-amd64 autopkgtest finished (failure)
Details
xenial-i386 autopkgtest finished (failure)
Details
xenial-ppc64el autopkgtest finished (failure)
Details
yakkety-amd64 autopkgtest finished (failure)
Details
zesty-amd64 autopkgtest finished (failure)
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@zyga zyga deleted the zyga:mount-opts-to-flags branch Apr 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment