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 | a301467d5f645dada27093ddfd74890b88bb4ce8 (patch) | |
tree | 1d7885db15f42257c2cb657c2cd8ca433036b87d /source/include/smb.h | |
parent | 0fd0b57107fcdbf7eda85b3f3b969c5dc9eaadc5 (diff) | |
download | samba-a301467d5f645dada27093ddfd74890b88bb4ce8.tar.gz samba-a301467d5f645dada27093ddfd74890b88bb4ce8.tar.xz samba-a301467d5f645dada27093ddfd74890b88bb4ce8.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.
Diffstat (limited to 'source/include/smb.h')
-rw-r--r-- | source/include/smb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/include/smb.h b/source/include/smb.h index a7d63a6aeda..dd6c17e4759 100644 --- a/source/include/smb.h +++ b/source/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. |