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

Method lgetxattr

fs/subfs.cpp:241–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239 return underlay_xattrfs->getxattr(path, name, value, size);
240 }
241 virtual ssize_t lgetxattr(const char *path, const char *name, void *value, size_t size) override
242 {
243 if (!underlay_xattrfs)
244 LOG_ERROR_RETURN(ENOTSUP, -1, "xattr is not supported by underlay fs");
245 PathCat __(this, path);
246 return underlay_xattrfs->lgetxattr(path, name, value, size);
247 }
248 virtual ssize_t listxattr(const char *path, char *list, size_t size) override
249 {
250 if (!underlay_xattrfs)

Callers 1

OVERRIDE_ASYNCMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected