Revert "s3: vfs: add user_vfs_evg to connection_struct"
[samba.git] / source3 / smbd / conn.c
index d8dc1c27d427a27fccc1c6c45331cf581cbc2757..cfff6404608f395414490e412d15d07139ba5bee 100644 (file)
@@ -95,12 +95,10 @@ static void conn_clear_vuid_cache(connection_struct *conn, uint64_t vuid)
                if (ent->vuid == vuid) {
                        ent->vuid = UID_FIELD_INVALID;
 
-                       conn->user_ev_ctx = NULL;
-
-                       if (conn->user_vfs_evg == ent->user_vfs_evg) {
-                               conn->user_vfs_evg = NULL;
+                       if (conn->user_ev_ctx == ent->user_ev_ctx) {
+                               conn->user_ev_ctx = NULL;
                        }
-                       TALLOC_FREE(ent->user_vfs_evg);
+                       TALLOC_FREE(ent->user_ev_ctx);
 
                        /*
                         * We need to keep conn->session_info around