smbd: remove "id" from share_mode_entry
authorVolker Lendecke <vl@samba.org>
Wed, 7 Feb 2018 13:32:37 +0000 (14:32 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 13 Feb 2018 04:01:38 +0000 (05:01 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Feb 13 05:01:38 CET 2018 on sn-devel-144

source3/librpc/idl/open_files.idl
source3/locking/locking.c

index 1f85f245fca0a045fde51848b3b315fa534fcc1c..8d652a9fa01239cf903a3086a360bb270b4a5d94 100644 (file)
@@ -51,7 +51,6 @@ interface open_files
                uint32          share_access;
                uint32          private_options;
                timeval         time;
-               file_id         id;
                udlong          share_file_id;
                uint32          uid;
                uint16          flags;
index 738b997f644a4e9e5cbd754667dcdfa00108aea0..791878c6383a63cda05e1db9c8e2ca451d7f61fb 100644 (file)
@@ -847,7 +847,6 @@ bool set_share_mode(struct share_mode_lock *lck, struct files_struct *fsp,
        e->lease = lease;
        e->time.tv_sec = fsp->open_time.tv_sec;
        e->time.tv_usec = fsp->open_time.tv_usec;
-       e->id = fsp->file_id;
        e->share_file_id = fsp->fh->gen_id;
        e->uid = (uint32_t)uid;
        e->flags = (fsp->posix_flags & FSP_POSIX_FLAGS_OPEN) ?