summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-20 11:10:06 +0100
committerVolker Lendecke <vl@samba.org>2008-01-20 11:10:06 +0100
commite1d01878f5e7c4a0f7d90ae0463bd6c11774d910 (patch)
treee4aaa7316e3bbaa74d9c9dd1f5ad0fb123048671 /source3/modules
parent611609ee2584cc0703c0524ae712ee385ae006f4 (diff)
downloadsamba-e1d01878f5e7c4a0f7d90ae0463bd6c11774d910.tar.gz
samba-e1d01878f5e7c4a0f7d90ae0463bd6c11774d910.tar.bz2
samba-e1d01878f5e7c4a0f7d90ae0463bd6c11774d910.zip
Complete the ea->xattr rename in vfs_xattr_tdb
(This used to be commit dac468216e7e103b6897f33ec3608412f77265cf)
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_xattr_tdb.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source3/modules/vfs_xattr_tdb.c b/source3/modules/vfs_xattr_tdb.c
index 597dd38eaf..0acca51c5d 100644
--- a/source3/modules/vfs_xattr_tdb.c
+++ b/source3/modules/vfs_xattr_tdb.c
@@ -558,7 +558,8 @@ static bool xattr_tdb_init(int snum, struct db_context **p_db)
struct db_context *db;
const char *dbname;
- dbname = lp_parm_const_string(snum, "ea", "tdb", lock_path("eas.tdb"));
+ dbname = lp_parm_const_string(snum, "xattr", "tdb",
+ lock_path("xattr.tdb"));
if (dbname == NULL) {
errno = ENOTSUP;
@@ -660,7 +661,7 @@ static int xattr_tdb_rmdir(vfs_handle_struct *handle, const char *path)
* Destructor for the VFS private data
*/
-static void close_ea_db(void **data)
+static void close_xattr_db(void **data)
{
struct db_context **p_db = (struct db_context **)data;
TALLOC_FREE(*p_db);
@@ -688,14 +689,14 @@ static int xattr_tdb_connect(vfs_handle_struct *handle, const char *service,
}
if (!xattr_tdb_init(snum, &db)) {
- DEBUG(5, ("Could not init ea tdb\n"));
+ DEBUG(5, ("Could not init xattr tdb\n"));
lp_do_parameter(snum, "ea support", "False");
return 0;
}
lp_do_parameter(snum, "ea support", "True");
- SMB_VFS_HANDLE_SET_DATA(handle, db, close_ea_db,
+ SMB_VFS_HANDLE_SET_DATA(handle, db, close_xattr_db,
struct db_context, return -1);
return 0;