s3:libsmb: SMBC_getatr do not let ino undefined on success
authorGregor Beck <gbeck@sernet.de>
Fri, 11 Oct 2013 09:00:48 +0000 (11:00 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 30 Oct 2013 22:23:51 +0000 (15:23 -0700)
Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/libsmb_file.c

index b4d9f8e..09f5810 100644 (file)
@@ -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;
        }