Commit 85d95b74 authored by Aaron Jacobs's avatar Aaron Jacobs

Added attributes for the root inode.

parent e57dade6
...@@ -32,6 +32,8 @@ const ( ...@@ -32,6 +32,8 @@ const (
) )
type inodeInfo struct { type inodeInfo struct {
attributes fuse.InodeAttributes
// File or directory? // File or directory?
dir bool dir bool
...@@ -43,7 +45,8 @@ type inodeInfo struct { ...@@ -43,7 +45,8 @@ type inodeInfo struct {
var gInodeInfo = map[fuse.InodeID]inodeInfo{ var gInodeInfo = map[fuse.InodeID]inodeInfo{
// root // root
rootInode: inodeInfo{ rootInode: inodeInfo{
dir: true, attributes: fuse.InodeAttributes{},
dir: true,
children: []fuseutil.Dirent{ children: []fuseutil.Dirent{
fuseutil.Dirent{ fuseutil.Dirent{
Offset: 1, Offset: 1,
......
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