Fixed a crash.
parent
a6223c2344
commit
25a95e5074
|
@ -116,6 +116,8 @@ func (fs *memFS) Init(
|
|||
func (fs *memFS) OpenDir(
|
||||
ctx context.Context,
|
||||
req *fuse.OpenDirRequest) (resp *fuse.OpenDirResponse, err error) {
|
||||
resp = &fuse.OpenDirResponse{}
|
||||
|
||||
fs.mu.RLock()
|
||||
defer fs.mu.RUnlock()
|
||||
|
||||
|
|
Loading…
Reference in New Issue