libsmb: Don't try to find posix stat info in SMBC_getatr()
commit40a7250da766e2ff24c36cb7efda8d6202136d6c
authorVolker Lendecke <vl@samba.org>
Thu, 19 Mar 2020 10:01:41 +0000 (19 11:01 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 4 May 2020 10:14:57 +0000 (4 10:14 +0000)
treea01ad4e3561ff78d777837c3ef6ab7c94b606c69
parente12887cdaece9bf4edb125894f9c9e7a68c70830
libsmb: Don't try to find posix stat info in SMBC_getatr()

This wrongly used "frame" instead of "fname", which can never have
worked. A first attempt to fix in 51551e0d53fa6 caused a few followup
patches in an attempt to clean up the test failures 51551e0d53fa6
introduced. They were reverted after a few discussions. So rather than
changing behaviour, just remove the code that introduced the valgrind
error again.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Mar 20 05:06:07 UTC 2020 on sn-devel-184

(cherry picked from commit 39c910fd9cba3caf7414274b678b9eee33d7e20b)
source3/include/libsmb_internal.h
source3/libsmb/libsmb_file.c
source3/libsmb/libsmb_server.c