Commit 44a49fb5 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse: fix dud assignment.

parent 00420f04
...@@ -111,7 +111,6 @@ func (n *Inode) IsDir() bool { ...@@ -111,7 +111,6 @@ func (n *Inode) IsDir() bool {
func (n *Inode) New(isDir bool, fsi FsNode) *Inode { func (n *Inode) New(isDir bool, fsi FsNode) *Inode {
ch := newInode(isDir, fsi) ch := newInode(isDir, fsi)
ch.mount = n.mount ch.mount = n.mount
ch.mount.treeLock = n.mount.treeLock
n.generation = ch.mount.connector.nextGeneration() n.generation = ch.mount.connector.nextGeneration()
return ch return ch
} }
......
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