r3545: initial support for using extended attributes to hold extended dos attributes...
[gd/samba-autobuild/.git] / source4 / ntvfs / posix / vfs_posix.c
index 2f0f38dd22c9c953bd26bc2bcc2172a7923c6c8c..da4296d06248af968f656965114e0e5f1b1b5c99 100644 (file)
@@ -24,7 +24,7 @@
   This is the default backend
 */
 
-#include "include/includes.h"
+#include "includes.h"
 #include "vfs_posix.h"
 
 
@@ -44,6 +44,10 @@ static void pvfs_setup_options(struct pvfs_state *pvfs)
        if (lp_strict_locking(snum)) pvfs->flags |= PVFS_FLAG_STRICT_LOCKING;
        if (lp_ci_filesystem(snum))  pvfs->flags |= PVFS_FLAG_CI_FILESYSTEM;
 
+#if HAVE_XATTR_SUPPORT
+       if (lp_parm_bool(snum, "posix", "xattr", True)) pvfs->flags |= PVFS_FLAG_XATTR_ENABLE;
+#endif
+
        pvfs->sharing_violation_delay = 1000000;
        delay = lp_parm_int(snum, "posix", "sharedelay");
        if (delay != -1) {