diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-05-20 08:01:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:52:39 -0500 |
commit | e3036006fe99893eb6c4f69ca2e70e48d35e8f24 (patch) | |
tree | 8ecfd4511729dc5c3b5a757043e2eedc439542ac /source4/ntvfs/posix/vfs_posix.h | |
parent | d2872b42f36ceac89970e3c1596300fa55ff7c50 (diff) | |
download | samba-e3036006fe99893eb6c4f69ca2e70e48d35e8f24.tar.gz |
r23017: fixed the warning we have been getting for a long time:
pvfs_close: failed to delete XXX
during the BASE-DELETE test. It was a real bug, and could result in a
delete on close triggering for a handle that had never fully opened.
(This used to be commit 398c3724b4cd8c8073c8a77f8b0568d6b3ce1e7d)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.h')
-rw-r--r-- | source4/ntvfs/posix/vfs_posix.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h index e79eadd03a0..cff0206f61e 100644 --- a/source4/ntvfs/posix/vfs_posix.h +++ b/source4/ntvfs/posix/vfs_posix.h @@ -150,6 +150,9 @@ struct pvfs_file_handle { /* have we set a sticky write time that we should remove on close */ BOOL sticky_write_time; + + /* the open went through to completion */ + BOOL open_completed; }; /* open file state */ |