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
99c5447e
Commit
99c5447e
authored
Apr 26, 2012
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More verbosity in illegal name message.
parent
cf2d1c3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
unionfs/autounion.go
unionfs/autounion.go
+2
-2
No files found.
unionfs/autounion.go
View file @
99c5447e
...
@@ -155,7 +155,7 @@ func (fs *AutoUnionFs) rmFs(name string) (code fuse.Status) {
...
@@ -155,7 +155,7 @@ func (fs *AutoUnionFs) rmFs(name string) (code fuse.Status) {
func
(
fs
*
AutoUnionFs
)
addFs
(
name
string
,
roots
[]
string
)
(
code
fuse
.
Status
)
{
func
(
fs
*
AutoUnionFs
)
addFs
(
name
string
,
roots
[]
string
)
(
code
fuse
.
Status
)
{
if
name
==
_CONFIG
||
name
==
_STATUS
||
name
==
_SCAN_CONFIG
{
if
name
==
_CONFIG
||
name
==
_STATUS
||
name
==
_SCAN_CONFIG
{
log
.
Print
ln
(
"Illegal name for overlay"
,
roots
)
log
.
Print
f
(
"Illegal name %q for overlay: %v"
,
name
,
roots
)
return
fuse
.
EINVAL
return
fuse
.
EINVAL
}
}
return
fs
.
createFs
(
name
,
roots
)
return
fs
.
createFs
(
name
,
roots
)
...
@@ -373,7 +373,7 @@ func (fs *AutoUnionFs) DebugData() string {
...
@@ -373,7 +373,7 @@ func (fs *AutoUnionFs) DebugData() string {
if
fs
.
connector
!=
nil
{
if
fs
.
connector
!=
nil
{
msg
+=
fmt
.
Sprintf
(
"Live inodes: %d
\n
"
,
fs
.
connector
.
InodeHandleCount
())
msg
+=
fmt
.
Sprintf
(
"Live inodes: %d
\n
"
,
fs
.
connector
.
InodeHandleCount
())
}
}
return
msg
return
msg
}
}
...
...
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