Change default xattr access method to 'openxattr' for macOS builds.
The namespaced way of accessing extended attributes doesn't make sense in macOS which doesn't use namespaces.pull/2/head
parent
1511a5ca51
commit
903db231ec
|
@ -427,7 +427,14 @@ char *parse_mount_options(ntfs_fuse_context_t *ctx,
|
|||
}
|
||||
break;
|
||||
case OPT_USER_XATTR :
|
||||
#if defined(__APPLE__) || defined(__DARWIN__)
|
||||
/* macOS builds use non-namespaced extended
|
||||
* attributes by default since it matches the
|
||||
* standard behaviour of macOS filesystems. */
|
||||
ctx->streams = NF_STREAMS_INTERFACE_OPENXATTR;
|
||||
#else
|
||||
ctx->streams = NF_STREAMS_INTERFACE_XATTR;
|
||||
#endif
|
||||
break;
|
||||
case OPT_NOAUTO :
|
||||
/* Don't pass noauto option to fuse. */
|
||||
|
|
Loading…
Reference in New Issue