From 5cd711248b40c008dde3be05325f196226867575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Tue, 5 Jul 2011 12:17:11 +0200 Subject: [PATCH] Fixed options parsing on OSes with no extended attributes --- src/ntfs-3g_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ntfs-3g_common.c b/src/ntfs-3g_common.c index 4a0c5c7b..ad6bb0c9 100644 --- a/src/ntfs-3g_common.c +++ b/src/ntfs-3g_common.c @@ -58,8 +58,6 @@ const int nf_ns_trusted_prefix_len = sizeof(nf_ns_trusted_prefix) - 1; static const char nf_ns_alt_xattr_efsinfo[] = "user.ntfs.efsinfo"; -#ifdef HAVE_SETXATTR - static const char def_opts[] = "allow_other,nonempty,"; /* @@ -567,6 +565,8 @@ int ntfs_parse_options(struct ntfs_options *popts, void (*usage)(void), return 0; } +#ifdef HAVE_SETXATTR + int ntfs_fuse_listxattr_common(ntfs_inode *ni, ntfs_attr_search_ctx *actx, char *list, size_t size, BOOL prefixing) {