summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-04-15 11:15:23 +0200
committerRichard Sharpe <sharpe@samba.org>2013-04-15 18:05:06 +0200
commit0f9eb25183e6ed5a2f4ec8e385bc5f985f2087e5 (patch)
tree02f11bf7c1ba427a6c2a7afdf0fe7ca3b1feda03 /source3
parentf67ae788cf8a678af0e309c8527f2b25c98b557b (diff)
downloadsamba-0f9eb25183e6ed5a2f4ec8e385bc5f985f2087e5.tar.gz
samba-0f9eb25183e6ed5a2f4ec8e385bc5f985f2087e5.tar.bz2
samba-0f9eb25183e6ed5a2f4ec8e385bc5f985f2087e5.zip
smbd: Fix an error return in change_dir_owner_to_parent
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com> Autobuild-User(master): Richard Sharpe <sharpe@samba.org> Autobuild-Date(master): Mon Apr 15 18:05:06 CEST 2013 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index be8d31b13b..1086e806fb 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -493,7 +493,7 @@ NTSTATUS change_dir_owner_to_parent(connection_struct *conn,
status = create_synthetic_smb_fname(ctx, ".", NULL, NULL,
&smb_fname_cwd);
if (!NT_STATUS_IS_OK(status)) {
- return status;
+ goto chdir;
}
ret = SMB_VFS_STAT(conn, smb_fname_cwd);