fix add ro mount for userattr-unmount unexpected timeout
Signed-off-by: Xinlin Ma <forblue.lin@gmail.com>
This commit is contained in:
parent
8c27ce4193
commit
fa4720fa16
@ -145,7 +145,7 @@ func NeedsUserXAttr(d string) (bool, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
opts := []string{
|
opts := []string{
|
||||||
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")),
|
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")),
|
||||||
"userxattr",
|
"userxattr",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user