Merge pull request #8852 from bpfoster/issue-8851
Fix ro mount option being passed
This commit is contained in:
commit
59959b31ff
@ -175,7 +175,8 @@ func NeedsUserXAttr(d string) (bool, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
opts := []string{
|
opts := []string{
|
||||||
fmt.Sprintf("ro,lowerdir=%s:%s,upperdir=%s,workdir=%s", filepath.Join(td, "lower2"), filepath.Join(td, "lower1"), filepath.Join(td, "upper"), filepath.Join(td, "work")),
|
"ro",
|
||||||
|
fmt.Sprintf("lowerdir=%s:%s,upperdir=%s,workdir=%s", filepath.Join(td, "lower2"), filepath.Join(td, "lower1"), filepath.Join(td, "upper"), filepath.Join(td, "work")),
|
||||||
"userxattr",
|
"userxattr",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user