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
Levin Zimmermann
go-fuse
Commits
f77ba8df
Commit
f77ba8df
authored
Sep 13, 2011
by
Han-Wen Nienhuys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update for new variable name.
parent
eb2f6ad5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
fuse/api.go
fuse/api.go
+8
-7
fuse/fsconnector.go
fuse/fsconnector.go
+1
-1
No files found.
fuse/api.go
View file @
f77ba8df
...
@@ -176,15 +176,16 @@ type FileSystemOptions struct {
...
@@ -176,15 +176,16 @@ type FileSystemOptions struct {
AttrTimeout
float64
AttrTimeout
float64
NegativeTimeout
float64
NegativeTimeout
float64
// If set, replace all uids with given UID. NewFileSystemOptions() will set
// If set, replace all uids with given UID.
// this to the daemon's uid/gid.
// NewFileSystemOptions() will set this to the daemon's
// uid/gid.
*
Owner
*
Owner
// If set,
drop extra verification bits to handles. This will
// If set,
use a more portable, but slower inode number
//
make inode numbers (exported back to callers) stay within
//
generation scheme. This will make inode numbers (exported
//
int64 (assuming the process uses less than 4G memory.).
//
back to callers) stay within int32, which is necessary for
//
64-bit inode numbers makes stat() in 32-bit programs fail
.
//
making stat() succeed in 32-bit programs
.
SkipCheckHandl
es
bool
PortableInod
es
bool
}
}
type
MountOptions
struct
{
type
MountOptions
struct
{
...
...
fuse/fsconnector.go
View file @
f77ba8df
...
@@ -50,7 +50,7 @@ func NewFileSystemConnector(nodeFs NodeFileSystem, opts *FileSystemOptions) (me
...
@@ -50,7 +50,7 @@ func NewFileSystemConnector(nodeFs NodeFileSystem, opts *FileSystemOptions) (me
if
opts
==
nil
{
if
opts
==
nil
{
opts
=
NewFileSystemOptions
()
opts
=
NewFileSystemOptions
()
}
}
me
.
inodeMap
=
NewHandleMap
(
opts
.
SkipCheckHandl
es
)
me
.
inodeMap
=
NewHandleMap
(
opts
.
PortableInod
es
)
me
.
rootNode
=
newInode
(
true
,
nodeFs
.
Root
())
me
.
rootNode
=
newInode
(
true
,
nodeFs
.
Root
())
// FUSE does not issue a LOOKUP for 1 (obviously), but it does
// FUSE does not issue a LOOKUP for 1 (obviously), but it does
...
...
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