As suggested by Jeremy Allison <jra@samba.org>.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit
9da09b52e8cc0453e694d85fc2bd82994138e20b)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10809
return status;
}
- if (!NT_STATUS_IS_OK(status)) {
+ if (NT_STATUS_EQUAL(status,
+ NT_STATUS_OBJECT_NAME_NOT_FOUND))
+ {
DEBUG(10, ("open_file: "
"file %s vanished since we "
"checked for existence.\n",