fs: set inode when statting directory permanodes

Change-Id: Ie20f02b3abab48c719a0de7b0d1409c559c5e69a
This commit is contained in:
Brad Fitzpatrick 2013-07-22 09:53:17 -07:00
parent f0edcaa7d4
commit 830c6966a1
1 changed files with 4 additions and 3 deletions

View File

@ -63,9 +63,10 @@ func (n *mutDir) fullPath() string {
func (n *mutDir) Attr() fuse.Attr {
return fuse.Attr{
Mode: os.ModeDir | 0700,
Uid: uint32(os.Getuid()),
Gid: uint32(os.Getgid()),
Inode: n.permanode.AsUint64(),
Mode: os.ModeDir | 0700,
Uid: uint32(os.Getuid()),
Gid: uint32(os.Getgid()),
}
}