Commit 9adcb60f authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

fuse/nodefs: supply dummy header for internal lookups.

parent 86145bbf
...@@ -238,7 +238,8 @@ func (c *FileSystemConnector) LookupNode(parent *Inode, path string) *Inode { ...@@ -238,7 +238,8 @@ func (c *FileSystemConnector) LookupNode(parent *Inode, path string) *Inode {
var a fuse.Attr var a fuse.Attr
// This will not affect inode ID lookup counts, which // This will not affect inode ID lookup counts, which
// are only update in response to kernel requests. // are only update in response to kernel requests.
child, _ := c.internalLookup(&a, parent, r, nil) var dummy fuse.InHeader
child, _ := c.internalLookup(&a, parent, r, &dummy)
if child == nil { if child == nil {
return nil return nil
} }
......
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