|
@ -36,7 +36,7 @@ func (wfs *WFS) GetXAttr(cancel <-chan struct{}, header *fuse.InHeader, attr str |
|
|
return 0, fuse.EINVAL |
|
|
return 0, fuse.EINVAL |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
_, _, entry, _, status := wfs.maybeReadEntry(header.NodeId, false) |
|
|
|
|
|
|
|
|
_, _, entry, status := wfs.maybeReadEntry(header.NodeId) |
|
|
if status != fuse.OK { |
|
|
if status != fuse.OK { |
|
|
return 0, status |
|
|
return 0, status |
|
|
} |
|
|
} |
|
@ -102,7 +102,7 @@ func (wfs *WFS) SetXAttr(cancel <-chan struct{}, input *fuse.SetXAttrIn, attr st |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
path, fh, entry, _, status := wfs.maybeReadEntry(input.NodeId, false) |
|
|
|
|
|
|
|
|
path, fh, entry, status := wfs.maybeReadEntry(input.NodeId) |
|
|
if status != fuse.OK { |
|
|
if status != fuse.OK { |
|
|
return status |
|
|
return status |
|
|
} |
|
|
} |
|
@ -143,7 +143,7 @@ func (wfs *WFS) ListXAttr(cancel <-chan struct{}, header *fuse.InHeader, dest [] |
|
|
return 0, fuse.Status(syscall.ENOTSUP) |
|
|
return 0, fuse.Status(syscall.ENOTSUP) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
_, _, entry, _, status := wfs.maybeReadEntry(header.NodeId, false) |
|
|
|
|
|
|
|
|
_, _, entry, status := wfs.maybeReadEntry(header.NodeId) |
|
|
if status != fuse.OK { |
|
|
if status != fuse.OK { |
|
|
return 0, status |
|
|
return 0, status |
|
|
} |
|
|
} |
|
@ -180,7 +180,7 @@ func (wfs *WFS) RemoveXAttr(cancel <-chan struct{}, header *fuse.InHeader, attr |
|
|
if len(attr) == 0 { |
|
|
if len(attr) == 0 { |
|
|
return fuse.EINVAL |
|
|
return fuse.EINVAL |
|
|
} |
|
|
} |
|
|
path, fh, entry, _, status := wfs.maybeReadEntry(header.NodeId, false) |
|
|
|
|
|
|
|
|
path, fh, entry, status := wfs.maybeReadEntry(header.NodeId) |
|
|
if status != fuse.OK { |
|
|
if status != fuse.OK { |
|
|
return status |
|
|
return status |
|
|
} |
|
|
} |
|
|