From 538893d183e967448df5aeb41b99a8af5116c5b7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 16 Apr 2012 19:01:15 +1000 Subject: s3fs: Use xattr_tdb format for xattr storage Autobuild-User: Andrew Bartlett Autobuild-Date: Wed Apr 18 05:39:01 CEST 2012 on sn-devel-104 --- file_server/file_server.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'file_server') diff --git a/file_server/file_server.c b/file_server/file_server.c index d3eb53c9a29..ad05fca7d10 100644 --- a/file_server/file_server.c +++ b/file_server/file_server.c @@ -57,8 +57,10 @@ static const char *generate_smb_conf(struct task_server *task) fdprintf(fd, "rpc_daemon:spoolssd = disabled\n"); fdprintf(fd, "rpc_server:tcpip = no\n"); - /* If we are using posix:eadb then we need to load another VFS object */ - if (lpcfg_parm_string(lp_ctx, NULL, "posix", "eadb")) { + /* If we are using xattr_tdb:file or posix:eadb then we need to load another VFS object */ + if (lpcfg_parm_string(lp_ctx, NULL, "xattr_tdb", "file")) { + fdprintf(fd, "vfs objects = acl_xattr xattr_tdb\n"); + } else if (lpcfg_parm_string(lp_ctx, NULL, "posix", "eadb")) { fdprintf(fd, "vfs objects = acl_xattr posix_eadb\n"); } else { fdprintf(fd, "vfs objects = acl_xattr\n"); -- cgit v1.2.1