diff options
author | Ralph Boehme <slow@samba.org> | 2015-12-11 17:27:50 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2016-01-06 10:07:16 +0100 |
commit | aa95842903c9997ab81845f09e3a648102040fbb (patch) | |
tree | 68f5e8b80f1947366d4f5ceb1c503d872347d84e | |
parent | 8a25a0a9c9d26079cb91be7f6360a4d6ff7ac5d4 (diff) | |
download | samba-aa95842903c9997ab81845f09e3a648102040fbb.tar.gz |
vfs_fruit: fix some debug messages
Bug: https://bugzilla.samba.org/show_bug.cgi?id=11347
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 748adea77f95d7d6114f96b7850f384b77d6f7d2)
-rw-r--r-- | source3/modules/vfs_fruit.c | 10 |
1 files 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); |