Skip to content

Commit

Permalink
smbd: remove "id" from share_mode_entry
Browse files Browse the repository at this point in the history
Signed-off-by: Volker Lendecke <[email protected]>
Reviewed-by: Jeremy Allison <[email protected]>

Autobuild-User(master): Jeremy Allison <[email protected]>
Autobuild-Date(master): Tue Feb 13 05:01:38 CET 2018 on sn-devel-144
  • Loading branch information
vlendec authored and jrasamba committed Feb 13, 2018
1 parent f7e6571 commit 3bbc575
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion source3/librpc/idl/open_files.idl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion source3/locking/locking.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) ?
Expand Down

0 comments on commit 3bbc575

Please sign in to comment.