diff options
author | Jeremy Allison <jra@samba.org> | 2009-12-02 18:06:40 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-12-02 18:06:40 -0800 |
commit | dfcc4115ddc7c3bf7a69d7eb747c096cd217b8a6 (patch) | |
tree | 6e5ae1c21fc1f0c7c1b0502a707a30a3b6f0b2be /source3/include | |
parent | 76be0f6a11dfadc94923a81ef984b6234db5c0b0 (diff) | |
download | samba-dfcc4115ddc7c3bf7a69d7eb747c096cd217b8a6.tar.gz samba-dfcc4115ddc7c3bf7a69d7eb747c096cd217b8a6.tar.bz2 samba-dfcc4115ddc7c3bf7a69d7eb747c096cd217b8a6.zip |
Remove unneeded argument from can_set_delete_on_close(). Ensure
can_set_delete_on_close() is correctly called before any setting
of the disposition bit (clean up the do_unlink() call).
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 8f14ef8702..d8fa437375 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -3499,8 +3499,7 @@ bool del_share_mode(struct share_mode_lock *lck, files_struct *fsp); void del_deferred_open_entry(struct share_mode_lock *lck, uint16 mid); bool remove_share_oplock(struct share_mode_lock *lck, files_struct *fsp); bool downgrade_share_oplock(struct share_mode_lock *lck, files_struct *fsp); -NTSTATUS can_set_delete_on_close(files_struct *fsp, bool delete_on_close, - uint32 dosmode); +NTSTATUS can_set_delete_on_close(files_struct *fsp, uint32 dosmode); void set_delete_on_close_token(struct share_mode_lock *lck, const UNIX_USER_TOKEN *tok); void set_delete_on_close_lck(struct share_mode_lock *lck, bool delete_on_close, const UNIX_USER_TOKEN *tok); bool set_delete_on_close(files_struct *fsp, bool delete_on_close, const UNIX_USER_TOKEN *tok); |