MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / lsetxattr

Method lsetxattr

fs/subfs.cpp:269–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267 return underlay_xattrfs->setxattr(path, name, value, size, flags);
268 }
269 virtual int lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags) override
270 {
271 if (!underlay_xattrfs)
272 LOG_ERROR_RETURN(ENOTSUP, -1, "xattr is not supported by underlay fs");
273 PathCat __(this, path);
274 return underlay_xattrfs->lsetxattr(path, name, value, size, flags);
275 }
276 virtual int removexattr(const char *path, const char *name) override
277 {
278 if (!underlay_xattrfs)

Callers 1

OVERRIDE_ASYNCMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected