[SCM] Samba Shared Repository - branch master updated

Isaac Boukris iboukris at samba.org
Mon Mar 9 14:16:02 UTC 2020


The branch, master has been updated
       via  f92af661902 vfs_recycle: prevent flooding the log if we're called on non-existant paths
      from  be90ab01bb4 ctdb-docs: Improve recovery lock documentation

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


- Log -----------------------------------------------------------------
commit f92af66190281a04c6687eb91fea3b41c616c19e
Author: Ralph Boehme <slow at samba.org>
Date:   Fri Mar 6 12:22:25 2020 +0100

    vfs_recycle: prevent flooding the log if we're called on non-existant paths
    
    vfs_recycle is assuming that any path passed to unlink must exist, otherwise it
    logs this error. Turn this into a DEBUG level message.
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=14316
    See also: https://bugzilla.redhat.com/show_bug.cgi?id=1780802
    
    Signed-off-by: Ralph Boehme <slow at samba.org>
    Reviewed-by: Isaac Boukris <iboukris at samba.org>
    
    Autobuild-User(master): Isaac Boukris <iboukris at samba.org>
    Autobuild-Date(master): Mon Mar  9 14:15:06 UTC 2020 on sn-devel-184

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

Summary of changes:
 source3/modules/vfs_recycle.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_recycle.c b/source3/modules/vfs_recycle.c
index a1d32bf10cb..ab1e6aa4dcf 100644
--- a/source3/modules/vfs_recycle.c
+++ b/source3/modules/vfs_recycle.c
@@ -236,8 +236,8 @@ static off_t recycle_get_file_size(vfs_handle_struct *handle,
 	}
 
 	if (SMB_VFS_STAT(handle->conn, smb_fname_tmp) != 0) {
-		DEBUG(0,("recycle: stat for %s returned %s\n",
-			 smb_fname_str_dbg(smb_fname_tmp), strerror(errno)));
+		DBG_DEBUG("stat for %s returned %s\n",
+			 smb_fname_str_dbg(smb_fname_tmp), strerror(errno));
 		size = (off_t)0;
 		goto out;
 	}


-- 
Samba Shared Repository



More information about the samba-cvs mailing list