[Gluster-devel] NetBSD portability patches to Gluster

Emmanuel Dreyfus manu at netbsd.org
Sat May 21 01:26:21 UTC 2011


Anand Avati <avati at gluster.com> wrote:

> patch-be - NO (We prefer self-authored code against code copyrighted
> by other projects)

patch-be also contains extended attribute API mappings, it is
self-authored:

+ * Extended attribute API for NetBSD
+ */
+int
+removexattr(const char *path, const char *key)
+{ return extattr_delete_file(path, EXTATTR_NAMESPACE_USER, key); }
+
+ssize_t
+listxattr(const char *path, void *value, size_t size) 
+{ return extattr_list_file(path, EXTATTR_NAMESPACE_USER, value, size);
}
+
(...)




-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org




More information about the Gluster-devel mailing list