summaryrefslogtreecommitdiffstats
path: root/source3/lib/file_id.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: Apply some const to pull_file_id_24Volker Lendecke2013-09-061-1/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3: Use file_id_string in file_id_string_tosVolker Lendecke2012-10-301-6/+1
| | | | | | | Reviewed by Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Oct 30 00:05:34 CET 2012 on sn-devel-104
* s3: Fix some nonempty line endingsVolker Lendecke2012-10-291-5/+5
| | | | Reviewed by Jeremy Allison <jra@samba.org>
* s3-lib: Add file_id_string()Andrew Bartlett2012-04-181-1/+14
|
* s3-build: move file_id.c into samba3-util and create a private headerAndrew Bartlett2012-04-181-0/+1
|
* Make the smbd VFS typesafeVolker Lendecke2009-07-241-8/+0
|
* s3: Add extid to the dev/inode pairTim Prouty2009-02-191-6/+24
| | | | | | | | | | | 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.
* s3: Modify SMB_VFS_FILE_ID_CREATE to take a stat structTim Prouty2009-02-191-16/+1
| | | | | Since file_id_create_dev is incompatible with the concept of file_ids, it is now static and in the one file that needs it.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-1/+1
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r25061: Pro-actively shut up Coverity :-)Volker Lendecke2007-10-101-3/+5
| | | | (This used to be commit f2ce4a803cfd04fa993d2d87720b4b6f67fc46db)
* r25055: Add file_id_string_tosVolker Lendecke2007-10-101-18/+4
| | | | | This removes file_id_string_static and file_id_string_static2 (This used to be commit 638c848c9afe374feb30e34c494f89b2a6c64f7b)
* r24120: add a file_id_create() hook into the VFS layerStefan Metzmacher2007-10-101-4/+3
| | | | | | | | it's needed for some cluster filesystems to overload this function. metze (This used to be commit cdaa24e8047399002e4b287a31a8340a665e580f)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r23185: Try to fix the IRIX build, also add the forgotten file_id.c in .26Volker Lendecke2007-10-101-1/+1
| | | | (This used to be commit 5360e6405b170137e558fd0696ebd6030e0f5deb)
* r23183: Check in a change made by Tridge:Volker Lendecke2007-10-101-0/+102
This replaces the internal explicit dev/ino file id representation by a "struct file_id". This is necessary as cluster file systems and NFS don't necessarily assign the same device number to the shared file system. With this structure in place we can now easily add different schemes to map a file to a unique 64-bit device node. Jeremy, you might note that I did not change the external interface of smb_share_modes.c. Volker (This used to be commit 9b10dbbd5de8813fc15ebbb6be9b18010ffe8139)