summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2019-07-16 14:20:33 +0200
committerJeremy Allison <jra@samba.org>2019-09-11 21:16:57 +0000
commit35cd91ee4d8fcd1034787882fb2e2e2ab9f8bd34 (patch)
tree99424bffc7bed81750794e19dab79757859a8bb4 /source3/include
parente9256b306ecd4299aa96b27d81800382414572a9 (diff)
downloadsamba-35cd91ee4d8fcd1034787882fb2e2e2ab9f8bd34.tar.gz
smbd: remove unused current_user.{need,done}_chdir stacking
All become_*()/unbecome_*() functions don't alter the working directory. Only change_to_user_and_service*() does. Pair-Programmed-With: Ralph Boehme <slow@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Sep 11 21:16:57 UTC 2019 on sn-devel-184
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 41c27806489..012ed485494 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -152,8 +152,6 @@ struct sys_notify_context {
struct current_user {
struct connection_struct *conn;
uint64_t vuid; /* SMB2 compat */
- bool need_chdir;
- bool done_chdir;
struct security_unix_token ut;
struct security_token *nt_user_token;
};