Commit 2f2c40a3 authored by Aaron Jacobs's avatar Aaron Jacobs

Allow opening the root dir in flushfs.

parent 9ee0e4a2
......@@ -259,8 +259,12 @@ func (fs *flushFS) OpenDir(
defer fs.mu.Unlock()
// Sanity check.
if op.Inode != barID {
err = fuse.ENOSYS
switch op.Inode {
case fuseops.RootInodeID:
case barID:
default:
err = fuse.ENOENT
return
}
......
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