s3: Add extid to the dev/inode pair
authorTim Prouty <tprouty@samba.org>
Mon, 16 Feb 2009 07:45:28 +0000 (23:45 -0800)
committerTim Prouty <tprouty@samba.org>
Fri, 20 Feb 2009 04:58:26 +0000 (20:58 -0800)
commite4675ce8db436ac572fcc476b9bfb1116e997f9f
tree7381a8a3aa92536fbfa58a75dee450f1f26d66ce
parent6fbebb5369211b72545a1dd588bc6b9fa04210a1
s3: Add extid to the dev/inode pair

This extends the file_id struct to add an additional generic uint64_t
field: extid.  For backwards compatibility with dev/inodes stored in
xattr_tdbs and acl_tdbs, the ext id is ignored for these databases.
This patch should cause no functional change on systems that don't use
SMB_VFS_FILE_ID_CREATE to set the extid.

Existing code that uses the smb_share_mode library will need to be
updated to be compatibile with the new extid.
14 files changed:
source3/include/locking.h
source3/include/proto.h
source3/include/smb.h
source3/include/smb_share_modes.h
source3/lib/file_id.c
source3/libsmb/smb_share_modes.c
source3/locking/locking.c
source3/modules/vfs_acl_tdb.c
source3/modules/vfs_default.c
source3/modules/vfs_xattr_tdb.c
source3/smbd/globals.c
source3/smbd/nttrans.c
source3/smbd/open.c
source3/smbd/oplock.c