From 0abe678af8d763279fd218736e6df29c21b27c5c Mon Sep 17 00:00:00 2001 From: Gregor Beck Date: Fri, 11 Oct 2013 11:00:48 +0200 Subject: [PATCH] s3:libsmb: SMBC_getatr do not let ino undefined on success Signed-off-by: Gregor Beck Reviewed-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- source3/libsmb/libsmb_file.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source3/libsmb/libsmb_file.c b/source3/libsmb/libsmb_file.c index b4d9f8e68e..09f58105b2 100644 --- a/source3/libsmb/libsmb_file.c +++ b/source3/libsmb/libsmb_file.c @@ -583,6 +583,9 @@ SMBC_getatr(SMBCCTX * context, if (change_time_ts != NULL) { *change_time_ts = w_time_ts; } + if (ino) { + *ino = 0; + } TALLOC_FREE(frame); return True; } -- 2.34.1