Skip to content

Commit

Permalink
AutoUnionFs: use Owner=CurrentOwner.
Browse files Browse the repository at this point in the history
  • Loading branch information
hanwen committed May 18, 2011
1 parent 513c37b commit b202146
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/autounionfs/main.go
Expand Up @@ -32,6 +32,7 @@ func main() {
EntryTimeout: 1.0,
AttrTimeout: 1.0,
NegativeTimeout: 1.0,
Owner: fuse.CurrentOwner(),
},
UpdateOnMount: true,
}
Expand All @@ -43,7 +44,7 @@ func main() {
fmt.Printf("Mount fail: %v\n", err)
os.Exit(1)
}

conn.Debug = *debug
state.Debug = *debug
state.Loop(*threaded)
Expand Down

0 comments on commit b202146

Please sign in to comment.