diff options
author | Christian Ambach <ambi@samba.org> | 2012-02-10 18:15:56 +0100 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2012-02-10 20:14:12 +0100 |
commit | e87d98c0fcf439a65031b072bebe0fed296cf59e (patch) | |
tree | e362b21c82e31cbaf8ad939ee21af5ae87f66b5f /source3/modules | |
parent | 4a11be3fb4d2cdcae323fc7932371eecca56b3cd (diff) | |
download | samba-e87d98c0fcf439a65031b072bebe0fed296cf59e.tar.gz samba-e87d98c0fcf439a65031b072bebe0fed296cf59e.tar.bz2 samba-e87d98c0fcf439a65031b072bebe0fed296cf59e.zip |
s3:vfs_gpfs:quieten an expectable warning message
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Fri Feb 10 20:14:12 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_gpfs.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; } |