From 4a578ec50b672d564150c956d5e479b4a3e9031b Mon Sep 17 00:00:00 2001 From: Steven Danneman Date: Sun, 11 Jan 2009 22:56:48 -0800 Subject: Covert several persistant tdb files to use state_path() instead of lock_path() --- source3/modules/vfs_acl_tdb.c | 2 +- source3/modules/vfs_xattr_tdb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/modules') diff --git a/source3/modules/vfs_acl_tdb.c b/source3/modules/vfs_acl_tdb.c index 3d140e34c2..a7969814bf 100644 --- a/source3/modules/vfs_acl_tdb.c +++ b/source3/modules/vfs_acl_tdb.c @@ -44,7 +44,7 @@ static bool acl_tdb_init(struct db_context **pp_db) return true; } - dbname = lock_path("file_ntacls.tdb"); + dbname = state_path("file_ntacls.tdb"); if (dbname == NULL) { errno = ENOSYS; diff --git a/source3/modules/vfs_xattr_tdb.c b/source3/modules/vfs_xattr_tdb.c index 8320a5820a..c4806e26c3 100644 --- a/source3/modules/vfs_xattr_tdb.c +++ b/source3/modules/vfs_xattr_tdb.c @@ -576,7 +576,7 @@ static bool xattr_tdb_init(int snum, struct db_context **p_db) const char *dbname; dbname = lp_parm_const_string(snum, "xattr_tdb", "file", - lock_path("xattr.tdb")); + state_path("xattr.tdb")); if (dbname == NULL) { errno = ENOSYS; -- cgit