From aa95842903c9997ab81845f09e3a648102040fbb Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Fri, 11 Dec 2015 17:27:50 +0100 Subject: vfs_fruit: fix some debug messages Bug: https://bugzilla.samba.org/show_bug.cgi?id=11347 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison (cherry picked from commit 748adea77f95d7d6114f96b7850f384b77d6f7d2) --- source3/modules/vfs_fruit.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c index 17da6292dad..5c1415647e7 100644 --- a/source3/modules/vfs_fruit.c +++ b/source3/modules/vfs_fruit.c @@ -2430,7 +2430,7 @@ static int fruit_unlink(vfs_handle_struct *handle, } /* FIXME: direct unlink(), missing smb_fname */ - DEBUG(1,("fruit_unlink: %s\n", adp)); + DEBUG(10,("fruit_unlink: %s\n", adp)); rc = unlink(adp); if ((rc == -1) && (errno == ENOENT)) { rc = 0; @@ -3278,8 +3278,8 @@ static int fruit_ftruncate(struct vfs_handle_struct *handle, struct adouble *ad = (struct adouble *)VFS_FETCH_FSP_EXTENSION(handle, fsp); - DEBUG(10, ("streams_xattr_ftruncate called for file %s offset %.0f\n", - fsp_str_dbg(fsp), (double)offset)); + DEBUG(10,("fruit_ftruncate called for file %s offset %.0f\n", + fsp_str_dbg(fsp), (double)offset)); if (ad == NULL) { return SMB_VFS_NEXT_FTRUNCATE(handle, fsp, offset); @@ -3560,7 +3560,7 @@ static NTSTATUS fruit_fset_nt_acl(vfs_handle_struct *handle, mode_t ms_nfs_mode; int result; - DEBUG(1, ("fruit_fset_nt_acl: %s\n", fsp_str_dbg(fsp))); + DEBUG(10,("fruit_fset_nt_acl: %s\n", fsp_str_dbg(fsp))); status = check_ms_nfs(handle, fsp, psd, &ms_nfs_mode, &do_chmod); if (!NT_STATUS_IS_OK(status)) { @@ -3576,10 +3576,8 @@ static NTSTATUS fruit_fset_nt_acl(vfs_handle_struct *handle, if (do_chmod) { if (fsp->fh->fd != -1) { - DEBUG(1, ("fchmod: %s\n", fsp_str_dbg(fsp))); result = SMB_VFS_FCHMOD(fsp, ms_nfs_mode); } else { - DEBUG(1, ("chmod: %s\n", fsp_str_dbg(fsp))); result = SMB_VFS_CHMOD(fsp->conn, fsp->fsp_name->base_name, ms_nfs_mode); -- cgit v1.2.1