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
9c1a7bb0
Commit
9c1a7bb0
authored
Sep 22, 2015
by
Jakob Unterwurzacher
Committed by
Han-Wen Nienhuys
Sep 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loopback: Add missing SetXAttr function
Now passes xfstests generic/053 Fixes issue #56
parent
d31db957
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
fuse/pathfs/loopback_linux.go
fuse/pathfs/loopback_linux.go
+5
-0
No files found.
fuse/pathfs/loopback_linux.go
View file @
9c1a7bb0
...
@@ -46,3 +46,8 @@ func (fs *loopbackFileSystem) GetXAttr(name string, attr string, context *fuse.C
...
@@ -46,3 +46,8 @@ func (fs *loopbackFileSystem) GetXAttr(name string, attr string, context *fuse.C
return
data
,
fuse
.
ToStatus
(
err
)
return
data
,
fuse
.
ToStatus
(
err
)
}
}
func
(
fs
*
loopbackFileSystem
)
SetXAttr
(
name
string
,
attr
string
,
data
[]
byte
,
flags
int
,
context
*
fuse
.
Context
)
fuse
.
Status
{
err
:=
syscall
.
Setxattr
(
fs
.
GetPath
(
name
),
attr
,
data
,
flags
)
return
fuse
.
ToStatus
(
err
)
}
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