diff options
author | Jeremy Allison <jra@samba.org> | 2001-10-20 21:23:52 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-10-20 21:23:52 +0000 |
commit | ee1dc804fb1aa0c7ba3d0c2bb534a8965eaaf9dc (patch) | |
tree | 0f80fb416f3830d6149a18a33538294d4676aeb7 /source/include/proto.h | |
parent | f34fc713c8e23e2cc8bd89c776f45e26ffb02c47 (diff) | |
download | samba-ee1dc804fb1aa0c7ba3d0c2bb534a8965eaaf9dc.tar.gz samba-ee1dc804fb1aa0c7ba3d0c2bb534a8965eaaf9dc.tar.xz samba-ee1dc804fb1aa0c7ba3d0c2bb534a8965eaaf9dc.zip |
Removed extern int DEBUGLEVEL - included in headers.
Moved from timestamp based comparison of open files in share mode table to
generational file_id comparison. This should help track down any logic bugs.
Needs some more testing. Coming to HEAD as soon as the compile finishes :-).
Jeremy.
Diffstat (limited to 'source/include/proto.h')
-rw-r--r-- | source/include/proto.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/include/proto.h b/source/include/proto.h index 0b7be0c5e94..1aabf2a5013 100644 --- a/source/include/proto.h +++ b/source/include/proto.h @@ -4087,7 +4087,8 @@ files_struct *file_new(connection_struct *conn); void file_close_conn(connection_struct *conn); void file_init(void); void file_close_user(int vuid); -files_struct *file_find_dit(SMB_DEV_T dev, SMB_INO_T inode, struct timeval *tval); +files_struct *file_find_fd(int fd); +files_struct *file_find_dif(SMB_DEV_T dev, SMB_INO_T inode, unsigned long file_id); files_struct *file_find_fsp(files_struct *orig_fsp); files_struct *file_find_di_first(SMB_DEV_T dev, SMB_INO_T inode); files_struct *file_find_di_next(files_struct *start_fsp); @@ -4195,8 +4196,7 @@ BOOL remove_oplock(files_struct *fsp, BOOL break_to_none); int setup_oplock_select_set( fd_set *fds); BOOL process_local_message(char *buffer, int buf_size); BOOL oplock_break_level2(files_struct *fsp, BOOL local_request, int token); -BOOL request_oplock_break(share_mode_entry *share_entry, - SMB_DEV_T dev, SMB_INO_T inode); +BOOL request_oplock_break(share_mode_entry *share_entry); BOOL attempt_close_oplocked_file(files_struct *fsp); void release_level_2_oplocks_on_change(files_struct *fsp); BOOL init_oplocks(void); |