summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/open.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 4abe017380..6aef99ff0e 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2845,6 +2845,8 @@ NTSTATUS create_file(connection_struct *conn,
goto fail;
}
+ SET_STAT_INVALID(sbuf);
+
goto done;
}
}