Commit f40c1042 authored by Ivan Krasin's avatar Ivan Krasin

GetXAttr now returns empty result. ls -al works

parent 374671a4
......@@ -138,7 +138,8 @@ func handle(fs FileSystem, in_data []byte, toW chan [][]byte, errors chan os.Err
out = attr_out
}
case FUSE_GETXATTR:
result = ENODATA
result = OK
out = new(GetXattrOut)
default:
errors <- os.NewError(fmt.Sprintf("Unsupported OpCode: %d", h.Opcode))
......
......@@ -372,17 +372,17 @@ type FsyncIn struct {
Padding uint32
}
type SetxattrIn struct {
type SetXattrIn struct {
Size uint32
Flags uint32
}
type GetxattrIn struct {
type GetXattrIn struct {
Size uint32
Padding uint32
}
type GetxattrOut struct {
type GetXattrOut struct {
Size uint32
Padding uint32
}
......
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