Re: NetBSD portability patches to Gluster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anand Avati <avati@xxxxxxxxxxx> 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@xxxxxxxxxx



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux