mirror of
https://github.com/samba-team/samba.git
synced 2025-12-02 00:23:50 +03:00
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 commit is contained in:
@@ -322,11 +322,25 @@
|
||||
*/
|
||||
|
||||
#ifndef SMB_DEV_T
|
||||
#define SMB_DEV_T uint32
|
||||
#define SMB_DEV_T dev_t
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Setup the correctly sized inode type.
|
||||
*/
|
||||
|
||||
#ifndef SMB_INO_T
|
||||
#define SMB_INO_T uint32
|
||||
# ifdef HAVE_INO64_T
|
||||
# define SMB_INO_T ino64_t
|
||||
# else
|
||||
# define SMB_INO_T ino_t
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef LARGE_SMB_INO_T
|
||||
# if defined(HAVE_INO64_T) || (defined(SIZEOF_INO_T) && (SIZEOF_INO_T == 8))
|
||||
# define LARGE_SMB_INO_T 1
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef SMB_OFF_T
|
||||
|
||||
Reference in New Issue
Block a user