[SCM] Samba Shared Repository - branch master updated

Christof Schmitt cs at samba.org
Fri Aug 23 23:10:02 UTC 2019


The branch, master has been updated
       via  76709153561 pthreadpool: Remove wrong comment.
      from  9b4685242fc s3: VFS: Complete the replacement of SMB_VFS_READLINK() -> SMB_VFS_READLINKAT().

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 767091535613720e1f2384003b363a58be0c5849
Author: Christof Schmitt <cs at samba.org>
Date:   Fri Aug 23 11:24:50 2019 -0700

    pthreadpool: Remove wrong comment.
    
    Commit e45d33e9 removed the sync fallback path for the case that no
    thread could be created. Remove the comment for that fallback as it does
    not make sense anymore.
    
    Signed-off-by: Christof Schmitt <cs at samba.org>
    Reviewed-by: Ralph Böhme <slow at samba.org>
    
    Autobuild-User(master): Christof Schmitt <cs at samba.org>
    Autobuild-Date(master): Fri Aug 23 23:09:12 UTC 2019 on sn-devel-184

-----------------------------------------------------------------------

Summary of changes:
 lib/pthreadpool/pthreadpool.c | 4 ----
 1 file changed, 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/pthreadpool/pthreadpool.c b/lib/pthreadpool/pthreadpool.c
index b6dad310b0d..cbabec9e25d 100644
--- a/lib/pthreadpool/pthreadpool.c
+++ b/lib/pthreadpool/pthreadpool.c
@@ -806,10 +806,6 @@ int pthreadpool_add_job(struct pthreadpool *pool, int job_id,
 		return 0;
 	}
 
-	/*
-	 * No thread could be created to run job, fallback to sync
-	 * call.
-	 */
 	pthreadpool_undo_put_job(pool);
 
 	unlock_res = pthread_mutex_unlock(&pool->mutex);


-- 
Samba Shared Repository



More information about the samba-cvs mailing list