Whamcloud - gitweb
LU-14093 gss: gcc10 fixes for GSS
[fs/lustre-release.git] / lustre / utils / gss / gssd_proc.c
index 9d3f3e9..0aa13e8 100644 (file)
@@ -99,6 +99,8 @@
  *      and rescan the whole {pipefs_nfsdir} when this happens.
  */
 
+TAILQ_HEAD(clnt_list_head, clnt_info) clnt_list;
+
 struct pollfd * pollarray;
 
 int pollsize;  /* the size of pollaray (in pollfd's) */
@@ -255,6 +257,11 @@ init_client_list(void)
        pollarray = calloc(pollsize, sizeof(struct pollfd));
 }
 
+struct clnt_info *clnt_list_first_entry(void)
+{
+       return clnt_list.tqh_first;
+}
+
 /*
  * This is run after a DNOTIFY signal, and should clear up any
  * directories that are no longer around, and re-scan any existing