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

Method setxattr

fs/subfs.cpp:262–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 return underlay_xattrfs->llistxattr(path, list, size);
261 }
262 virtual int setxattr(const char *path, const char *name, const void *value, size_t size, int flags) override
263 {
264 if (!underlay_xattrfs)
265 LOG_ERROR_RETURN(ENOTSUP, -1, "xattr is not supported by underlay fs");
266 PathCat __(this, path);
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)

Callers 1

OVERRIDE_ASYNCMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected