Commit 66046ebb authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

nodefs: remove Debug option

parent 9636c970
...@@ -308,9 +308,6 @@ type FileHandle interface { ...@@ -308,9 +308,6 @@ type FileHandle interface {
// Options sets options for the entire filesystem // Options sets options for the entire filesystem
type Options struct { type Options struct {
// Debug toggles debug output
Debug bool
// If set to nonnil, this defines the overall entry timeout // If set to nonnil, this defines the overall entry timeout
// for the file system. See fuse.EntryOut for more information. // for the file system. See fuse.EntryOut for more information.
EntryTimeout *time.Duration EntryTimeout *time.Duration
......
...@@ -87,7 +87,6 @@ func TestKeepCache(t *testing.T) { ...@@ -87,7 +87,6 @@ func TestKeepCache(t *testing.T) {
sec := time.Second sec := time.Second
root := &keepCacheRoot{} root := &keepCacheRoot{}
rawFS := NewNodeFS(root, &Options{ rawFS := NewNodeFS(root, &Options{
Debug: testutil.VerboseTest(),
FirstAutomaticIno: 1, FirstAutomaticIno: 1,
AttrTimeout: &sec, AttrTimeout: &sec,
......
...@@ -56,8 +56,6 @@ func TestInterrupt(t *testing.T) { ...@@ -56,8 +56,6 @@ func TestInterrupt(t *testing.T) {
_ = time.Second _ = time.Second
oneSec := time.Second oneSec := time.Second
rawFS := NewNodeFS(root, &Options{ rawFS := NewNodeFS(root, &Options{
Debug: testutil.VerboseTest(),
// NOSUBMIT - should run all tests without cache too // NOSUBMIT - should run all tests without cache too
EntryTimeout: &oneSec, EntryTimeout: &oneSec,
AttrTimeout: &oneSec, AttrTimeout: &oneSec,
......
...@@ -85,7 +85,6 @@ func newTestCase(t *testing.T, entryCache bool, attrCache bool) *testCase { ...@@ -85,7 +85,6 @@ func newTestCase(t *testing.T, entryCache bool, attrCache bool) *testCase {
entryDT = nil entryDT = nil
} }
tc.rawFS = NewNodeFS(tc.loopback, &Options{ tc.rawFS = NewNodeFS(tc.loopback, &Options{
Debug: testutil.VerboseTest(),
EntryTimeout: entryDT, EntryTimeout: entryDT,
AttrTimeout: attrDT, AttrTimeout: attrDT,
}) })
......
...@@ -65,7 +65,6 @@ func TestZipFS(t *testing.T) { ...@@ -65,7 +65,6 @@ func TestZipFS(t *testing.T) {
mntDir := testutil.TempDir() mntDir := testutil.TempDir()
rawFS := NewNodeFS(root, &Options{ rawFS := NewNodeFS(root, &Options{
Debug: testutil.VerboseTest(),
FirstAutomaticIno: 1, FirstAutomaticIno: 1,
}) })
server, err := fuse.NewServer(rawFS, mntDir, server, err := fuse.NewServer(rawFS, mntDir,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment