smbd: remove itime and file_id logic and code
authorRalph Boehme <slow@samba.org>
Mon, 28 Mar 2022 09:48:37 +0000 (11:48 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 31 Mar 2022 23:01:37 +0000 (23:01 +0000)
commit643da37fd139413651a6198fb0f6e550f7de6584
tree1d3ad9a9f338708ffc1a669f9d4bfb9c16a7312f
parent8ad0febd1347ddf355581da38eea89228f89507b
smbd: remove itime and file_id logic and code

This bases File-Ids on the inode numbers again. The whole stuff was
added because at that time Apple clients

1. would be upset by inode number reusage and

2. had a client side bug in their fallback implemetentation that
assigns File-Ids on the client side in case the server provides
File-Ids of 0.

After discussion with folks at Apple it should be safe these days to
rely on the Mac to generate its own File-Ids and let Samba return 0
File-Ids.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
21 files changed:
librpc/idl/xattr.idl
source3/include/includes.h
source3/include/proto.h
source3/include/vfs.h
source3/lib/file_id.c
source3/lib/file_id.h
source3/lib/system.c
source3/modules/test_vfs_gpfs.c
source3/modules/vfs_ceph.c
source3/modules/vfs_default.c
source3/modules/vfs_glusterfs.c
source3/modules/vfs_gpfs.c
source3/rpc_server/mdssvc/mdssvc.c
source3/script/tests/test_itime.sh [deleted file]
source3/selftest/tests.py
source3/smbd/dosmode.c
source3/smbd/open.c
source3/smbd/smb2_create.c
source3/smbd/smb2_query_directory.c
source3/smbd/trans2.c
source4/torture/smb2/create.c