diff options
author | Jeremy Allison <jra@samba.org> | 1998-09-04 20:53:58 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-09-04 20:53:58 +0000 |
commit | 83900f2b682c62f2b5620b29ecb710274990ac51 (patch) | |
tree | d990ea194e1ecdb3ca78fb93f3af09274e97634d /source3/smbd/files.c | |
parent | 33bf29fd24c1dc076055303a0f135c9a47fb9877 (diff) | |
download | samba-83900f2b682c62f2b5620b29ecb710274990ac51.tar.gz samba-83900f2b682c62f2b5620b29ecb710274990ac51.tar.xz samba-83900f2b682c62f2b5620b29ecb710274990ac51.zip |
Modified dev_t and ino_t code to be 64 bit clean (including changes
to oplock break message passing). I think that smbd/nmbd are now
inode and offset size independent (at least for 32 bit and 64 bit
systems).
Now to expose all this new functionality to NT clients.....
Jeremy.
(This used to be commit 5910d07bbf45a34d3c901461f74704c029a79474)
Diffstat (limited to 'source3/smbd/files.c')
-rw-r--r-- | source3/smbd/files.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c index 341d9946ec7..163e4f0cf2f 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -128,9 +128,15 @@ file_fd_struct *fd_get_already_open(SMB_STRUCT_STAT *sbuf) (sbuf->st_dev == fd_ptr->dev) && (sbuf->st_ino == fd_ptr->inode)) { fd_ptr->ref_count++; +#ifdef LARGE_SMB_INO_T + DEBUG(3,("Re-used file_fd_struct dev = %x, inode = %.0f, ref_count = %d\n", + (unsigned int)fd_ptr->dev, (double)fd_ptr->inode, + fd_ptr->ref_count)); +#else /* LARGE_SMB_INO_T */ DEBUG(3,("Re-used file_fd_struct dev = %x, inode = %x, ref_count = %d\n", - fd_ptr->dev, fd_ptr->inode, + (unsigned int)fd_ptr->dev, fd_ptr->inode, fd_ptr->ref_count)); +#endif /* LARGE_SMB_INO_T */ return fd_ptr; } } |