summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorSteven Danneman <steven.danneman@isilon.com>2009-01-11 22:56:48 -0800
committerSteven Danneman <steven.danneman@isilon.com>2009-01-12 17:46:15 -0800
commit4a578ec50b672d564150c956d5e479b4a3e9031b (patch)
tree4ac76c556768321546c92a026d22e9d6f5921210 /source3/modules
parent7b02e05eb64f3ffd7aa1cf027d10a7343c0da757 (diff)
downloadsamba-4a578ec50b672d564150c956d5e479b4a3e9031b.tar.gz
samba-4a578ec50b672d564150c956d5e479b4a3e9031b.tar.bz2
samba-4a578ec50b672d564150c956d5e479b4a3e9031b.zip
Covert several persistant tdb files to use state_path() instead of lock_path()
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_acl_tdb.c2
-rw-r--r--source3/modules/vfs_xattr_tdb.c2
2 files changed, 2 insertions, 2 deletions
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;