summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-02-09 16:31:06 -0800
committerJeremy Allison <jra@samba.org>2011-02-10 02:43:31 +0100
commit0122a4f41744c36aa97d73c060cfb952d2fdbc2d (patch)
tree71d4aaf2ba7c86d083bffc65323d5600715bd4ef /source3/smbd/reply.c
parent4b0af9be9a887b78a71eda26d418546330889ed1 (diff)
downloadsamba-0122a4f41744c36aa97d73c060cfb952d2fdbc2d.tar.gz
samba-0122a4f41744c36aa97d73c060cfb952d2fdbc2d.tar.bz2
samba-0122a4f41744c36aa97d73c060cfb952d2fdbc2d.zip
Put OpenDir() back the way it was - don't overload with an fsp arg. Create OpenDir_fsp for new usage.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Feb 10 02:43:31 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 120b8bc69f..dea265f679 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2647,7 +2647,7 @@ NTSTATUS unlink_internals(connection_struct *conn, struct smb_request *req,
goto out;
}
- dir_hnd = OpenDir(talloc_tos(), conn, NULL, fname_dir, fname_mask,
+ dir_hnd = OpenDir(talloc_tos(), conn, fname_dir, fname_mask,
dirtype);
if (dir_hnd == NULL) {
status = map_nt_error_from_unix(errno);
@@ -6380,7 +6380,7 @@ NTSTATUS rename_internals(TALLOC_CTX *ctx,
goto out;
}
- dir_hnd = OpenDir(talloc_tos(), conn, NULL, fname_src_dir, fname_src_mask,
+ dir_hnd = OpenDir(talloc_tos(), conn, fname_src_dir, fname_src_mask,
attrs);
if (dir_hnd == NULL) {
status = map_nt_error_from_unix(errno);
@@ -7067,7 +7067,7 @@ void reply_copy(struct smb_request *req)
goto out;
}
- dir_hnd = OpenDir(ctx, conn, NULL, fname_src_dir, fname_src_mask, 0);
+ dir_hnd = OpenDir(ctx, conn, fname_src_dir, fname_src_mask, 0);
if (dir_hnd == NULL) {
status = map_nt_error_from_unix(errno);
reply_nterror(req, status);