diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-22 16:02:36 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-22 16:02:36 +0000 |
commit | b95b82b798704d75403c4cf06ce6a10a6161b501 (patch) | |
tree | 500813446914d42c61bbb36e4f1cd013eed4932f /source3/modules | |
parent | 7f23546730e49569d41a5edd0c47bb559c4f812d (diff) | |
download | samba-b95b82b798704d75403c4cf06ce6a10a6161b501.tar.gz samba-b95b82b798704d75403c4cf06ce6a10a6161b501.tar.bz2 samba-b95b82b798704d75403c4cf06ce6a10a6161b501.zip |
talloc_init_named -> talloc_init.
Jeremy.
(This used to be commit 20a44d4cf11d91e7a09176bfe673ad0cb230dffe)
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_netatalk.c | 10 | ||||
-rw-r--r-- | source3/modules/vfs_recycle.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/source3/modules/vfs_netatalk.c b/source3/modules/vfs_netatalk.c index 353be36e6f..c869922a4c 100644 --- a/source3/modules/vfs_netatalk.c +++ b/source3/modules/vfs_netatalk.c @@ -223,7 +223,7 @@ static int atalk_rmdir(struct connection_struct *conn, const char *path) strstr(path, APPLEDOUBLE) ? (add = False) : (add = True); - if (!(ctx = talloc_init_named("remove_directory"))) + if (!(ctx = talloc_init("remove_directory"))) goto exit_rmdir; if (!(dpath = talloc_asprintf(ctx, "%s/%s%s", @@ -252,7 +252,7 @@ static int atalk_rename(struct connection_struct *conn, const char *old, const c if (!conn || !old) return ret; - if (!(ctx = talloc_init_named("rename_file"))) + if (!(ctx = talloc_init("rename_file"))) return ret; if (atalk_build_paths(ctx, conn->origpath, old, &adbl_path, &orig_path, @@ -308,7 +308,7 @@ static int atalk_unlink(struct connection_struct *conn, const char *path) } } - if (!(ctx = talloc_init_named("unlink_file"))) + if (!(ctx = talloc_init("unlink_file"))) return ret; if (atalk_build_paths(ctx, conn->origpath, path, &adbl_path, &orig_path, @@ -340,7 +340,7 @@ static int atalk_chmod(struct connection_struct *conn, const char *path, mode_t if (!conn || !path) return ret; - if (!(ctx = talloc_init_named("chmod_file"))) + if (!(ctx = talloc_init("chmod_file"))) return ret; if (atalk_build_paths(ctx, conn->origpath, path, &adbl_path, &orig_path, @@ -372,7 +372,7 @@ static int atalk_chown(struct connection_struct *conn, const char *path, uid_t u if (!conn || !path) return ret; - if (!(ctx = talloc_init_named("chown_file"))) + if (!(ctx = talloc_init("chown_file"))) return ret; if (atalk_build_paths(ctx, conn->origpath, path, &adbl_path, &orig_path, diff --git a/source3/modules/vfs_recycle.c b/source3/modules/vfs_recycle.c index 83fc41cfbd..dcd83b7acd 100644 --- a/source3/modules/vfs_recycle.c +++ b/source3/modules/vfs_recycle.c @@ -104,7 +104,7 @@ vfs_op_tuple *vfs_init(int *vfs_version, struct vfs_ops *def_vfs_ops, } recycle_bin_private_handle = vfs_handle; - if (!(mem_ctx = talloc_init_named("recycle bin data"))) { + if (!(mem_ctx = talloc_init("recycle bin data"))) { DEBUG(0, ("Failed to allocate memory in VFS module recycle_bin\n")); return NULL; } @@ -171,7 +171,7 @@ static int recycle_connect(struct connection_struct *conn, const char *service, return -1; } - if (!(ctx = talloc_init_named("recycle bin connection"))) { + if (!(ctx = talloc_init("recycle bin connection"))) { DEBUG(0, ("Failed to allocate memory in VFS module recycle_bin\n")); return -1; } |