From e87d98c0fcf439a65031b072bebe0fed296cf59e Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Fri, 10 Feb 2012 18:15:56 +0100 Subject: s3:vfs_gpfs:quieten an expectable warning message Autobuild-User: Christian Ambach Autobuild-Date: Fri Feb 10 20:14:12 CET 2012 on sn-devel-104 --- source3/modules/vfs_gpfs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/modules') diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index d80f5ebfcc..6a9d3d5b84 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -1224,7 +1224,11 @@ static int vfs_gpfs_ntimes(struct vfs_handle_struct *handle, ret = SMB_VFS_NEXT_NTIMES(handle, smb_fname, ft); if(ret == -1){ - DEBUG(1,("vfs_gpfs_ntimes: SMB_VFS_NEXT_NTIMES failed\n")); + /* don't complain if access was denied */ + if (errno != EPERM && errno != EACCES) { + DEBUG(1,("vfs_gpfs_ntimes: SMB_VFS_NEXT_NTIMES failed:" + "%s", strerror(errno))); + } return -1; } -- cgit