Commit 8c7a3e48 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse: remove NewRawFileSystem

parent f516f166
...@@ -103,7 +103,7 @@ func NewTestCase(t *testing.T) *testCase { ...@@ -103,7 +103,7 @@ func NewTestCase(t *testing.T) *testCase {
LookupKnownChildren: true, LookupKnownChildren: true,
}) })
tc.state, err = fuse.NewServer( tc.state, err = fuse.NewServer(
fuse.NewRawFileSystem(tc.connector.RawFS()), tc.mnt, &fuse.MountOptions{ tc.connector.RawFS(), tc.mnt, &fuse.MountOptions{
SingleThreaded: true, SingleThreaded: true,
Debug: testutil.VerboseTest(), Debug: testutil.VerboseTest(),
}) })
......
...@@ -57,7 +57,7 @@ func TestUmask(t *testing.T) { ...@@ -57,7 +57,7 @@ func TestUmask(t *testing.T) {
LookupKnownChildren: true, LookupKnownChildren: true,
}) })
server, err := fuse.NewServer( server, err := fuse.NewServer(
fuse.NewRawFileSystem(connector.RawFS()), mnt, &fuse.MountOptions{ connector.RawFS(), mnt, &fuse.MountOptions{
SingleThreaded: true, SingleThreaded: true,
Debug: testutil.VerboseTest(), Debug: testutil.VerboseTest(),
}) })
......
This diff is collapsed.
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