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

Method listxattr

fs/subfs.cpp:248–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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)
251 LOG_ERROR_RETURN(ENOTSUP, -1, "xattr is not supported by underlay fs");
252 PathCat __(this, path);
253 return underlay_xattrfs->listxattr(path, list, size);
254 }
255 virtual ssize_t llistxattr(const char *path, char *list, size_t size) override
256 {
257 if (!underlay_xattrfs)

Callers 1

OVERRIDE_ASYNCMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected