[SCM] Samba Shared Repository - branch master updated
Stefan Metzmacher
metze at samba.org
Tue Jan 15 03:14:02 UTC 2019
The branch, master has been updated
via 12398a2d1dd vfs_fileid: fix get_connectpath_ino
from 6619cec3dec s3:smbd: perform impersonation in smb2_query_directory_fetch_write_time_done()
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 12398a2d1ddcd326e02e5d8b0749e0e796145165
Author: Ralph Wuerthner <ralph.wuerthner at de.ibm.com>
Date: Thu Jan 10 14:28:14 2019 +0100
vfs_fileid: fix get_connectpath_ino
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13741
Signed-off-by: Ralph Wuerthner <ralph.wuerthner at de.ibm.com>
Reviewed-by: Volker Lendecke <vl at samba.org>
Reviewed-by: Jeremy Allison <jra at samba.org>
Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
Autobuild-Date(master): Tue Jan 15 04:13:15 CET 2019 on sn-devel-144
-----------------------------------------------------------------------
Summary of changes:
source3/modules/vfs_fileid.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Changeset truncated at 500 lines:
diff --git a/source3/modules/vfs_fileid.c b/source3/modules/vfs_fileid.c
index 5d08fe97d15..cb77a2e52c6 100644
--- a/source3/modules/vfs_fileid.c
+++ b/source3/modules/vfs_fileid.c
@@ -297,12 +297,14 @@ static int get_connectpath_ino(struct vfs_handle_struct *handle,
}
ret = SMB_VFS_NEXT_STAT(handle, fname);
- TALLOC_FREE(fname);
if (ret != 0) {
DBG_ERR("stat failed for %s with %s\n",
handle->conn->connectpath, strerror(errno));
+ TALLOC_FREE(fname);
return -1;
}
+ *ino = fname->st.st_ex_ino;
+ TALLOC_FREE(fname);
return 0;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list