diff options
author | Gregor Beck <gbeck@sernet.de> | 2013-10-11 11:00:48 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-10-30 15:23:51 -0700 |
commit | 0abe678af8d763279fd218736e6df29c21b27c5c (patch) | |
tree | ca8730f48d906a2d2b47756b7efa0b86172ebaf0 /source3/libsmb/libsmb_file.c | |
parent | cfedd4fe6951493368dd758d16fcd650845ac4b9 (diff) | |
download | samba-0abe678af8d763279fd218736e6df29c21b27c5c.tar.gz samba-0abe678af8d763279fd218736e6df29c21b27c5c.tar.xz samba-0abe678af8d763279fd218736e6df29c21b27c5c.zip |
s3:libsmb: SMBC_getatr do not let ino undefined on success
Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libsmb/libsmb_file.c')
-rw-r--r-- | source3/libsmb/libsmb_file.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |