Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go-fuse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go-fuse
Commits
ad50ef4d
Commit
ad50ef4d
authored
Apr 24, 2012
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup some log/panic messages.
parent
7b1a7ea0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
fuse/fsops.go
fuse/fsops.go
+5
-1
No files found.
fuse/fsops.go
View file @
ad50ef4d
...
...
@@ -45,6 +45,9 @@ func (me *FileSystemConnector) internalLookup(parent *Inode, name string, contex
if
child
==
nil
&&
fsNode
!=
nil
{
child
=
fsNode
.
Inode
()
if
child
==
nil
{
log
.
Panicf
(
"Lookup %q returned child without Inode: %v"
,
name
,
fsNode
)
}
}
return
fi
,
child
,
code
...
...
@@ -65,7 +68,7 @@ func (me *FileSystemConnector) Lookup(header *raw.InHeader, name string) (out *r
return
nil
,
code
}
if
child
==
nil
{
log
.
Println
(
"
HUH
"
,
name
)
log
.
Println
(
"
Lookup returned OK with nil child
"
,
name
)
}
rawAttr
:=
(
*
raw
.
Attr
)(
fi
)
...
...
@@ -363,3 +366,4 @@ func (me *FileSystemConnector) Flush(header *raw.InHeader, input *raw.FlushIn) S
opened
:=
node
.
mount
.
getOpenedFile
(
input
.
Fh
)
return
opened
.
WithFlags
.
File
.
Flush
()
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment