mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
vfs_fruit: add and use define for the Netatalk metadata xattr
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11466 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
c4bdba97b4
commit
c8ee1a059b
@ -104,11 +104,12 @@ static int vfs_fruit_debug_level = DBGC_VFS;
|
||||
* REVIEW:
|
||||
* This is hokey, but what else can we do?
|
||||
*/
|
||||
#define NETATALK_META_XATTR "org.netatalk.Metadata"
|
||||
#if defined(HAVE_ATTROPEN) || defined(FREEBSD)
|
||||
#define AFPINFO_EA_NETATALK "org.netatalk.Metadata"
|
||||
#define AFPINFO_EA_NETATALK NETATALK_META_XATTR
|
||||
#define AFPRESOURCE_EA_NETATALK "org.netatalk.ResourceFork"
|
||||
#else
|
||||
#define AFPINFO_EA_NETATALK "user.org.netatalk.Metadata"
|
||||
#define AFPINFO_EA_NETATALK "user." NETATALK_META_XATTR
|
||||
#define AFPRESOURCE_EA_NETATALK "user.org.netatalk.ResourceFork"
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user