mirror of https://github.com/perkeep/perkeep.git
fs: fix crash setting xattr on a root
Change-Id: I76f008bcffcf23c5936a0a16cabb9c5b7c9bbd99
This commit is contained in:
parent
7f4ef04b4b
commit
70e6306aaf
|
@ -196,6 +196,7 @@ func (n *rootsDir) Lookup(name string, intr fuse.Intr) (fuse.Node, fuse.Error) {
|
||||||
fs: n.fs,
|
fs: n.fs,
|
||||||
permanode: br,
|
permanode: br,
|
||||||
name: name,
|
name: name,
|
||||||
|
xattrs: map[string][]byte{},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
n.children[name] = nod
|
n.children[name] = nod
|
||||||
|
|
Loading…
Reference in New Issue