diff options
author | Jeremy Allison <jra@samba.org> | 2007-05-23 21:32:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:22:46 -0500 |
commit | dbfd6bf8c8cc9945c4ba7e22ac44b1f33f9c7ce6 (patch) | |
tree | 04b65312f9eff3b6164e94e1d5b7fd53de03ab4c /source3/include | |
parent | e85613f915a44f572eb4719f9e22943450c07b26 (diff) | |
download | samba-dbfd6bf8c8cc9945c4ba7e22ac44b1f33f9c7ce6.tar.gz samba-dbfd6bf8c8cc9945c4ba7e22ac44b1f33f9c7ce6.tar.bz2 samba-dbfd6bf8c8cc9945c4ba7e22ac44b1f33f9c7ce6.zip |
r23100: Implement the delete on close semantics I've just tested for
in Samba4 smbtorture. Fix rename on an open file handle.
Needed for 3.0.25a.
Jeremy.
(This used to be commit a301467d5f645dada27093ddfd74890b88bb4ce8)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index a7d63a6aed..dd6c17e475 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -742,6 +742,7 @@ struct pending_message_list { }; #define SHARE_MODE_FLAG_POSIX_OPEN 0x1 +#define SHARE_MODE_ALLOW_INITIAL_DELETE_ON_CLOSE 0x2 /* struct returned by get_share_modes */ struct share_mode_entry { @@ -759,7 +760,7 @@ struct share_mode_entry { SMB_INO_T inode; unsigned long share_file_id; uint32 uid; /* uid of file opener. */ - uint16 flags; /* POSIX_OPEN only defined so far... */ + uint16 flags; /* See SHARE_MODE_XX above. */ }; /* oplock break message definition - linearization of share_mode_entry. |