s3:vfs_gpfs: be less verbose in get/set_xattr functions
authorStefan Metzmacher <metze@samba.org>
Thu, 22 Dec 2011 13:20:32 +0000 (14:20 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 24 Jul 2012 19:32:56 +0000 (21:32 +0200)
metze

Signed-off-by: Christian Ambach <ambi@samba.org>
(cherry picked from commit 2e95d8048b9e9c7025ddada7ede15494e6016ba9)

Fix bug #9022 - vfs_gpfs is very verbose in get/set_xattr functions.
(cherry picked from commit 3abaa9dd8a2af9497dfc6afd6f93a638956c1c3a)

source3/modules/vfs_gpfs.c

index 0c86ea8e7e97bb7ceaf0d4ce000b4871047d839b..7bc2832708c7e270c2430e1544c7f7293d68cf59 100644 (file)
@@ -950,7 +950,7 @@ static int gpfs_set_xattr(struct vfs_handle_struct *handle,  const char *path,
 
         /* Only handle DOS Attributes */
         if (strcmp(name,SAMBA_XATTR_DOS_ATTRIB) != 0){
-               DEBUG(1, ("gpfs_set_xattr:name is %s\n",name));
+               DEBUG(5, ("gpfs_set_xattr:name is %s\n",name));
                return SMB_VFS_NEXT_SETXATTR(handle,path,name,value,size,flags);
         }
 
@@ -1026,7 +1026,7 @@ static ssize_t gpfs_get_xattr(struct vfs_handle_struct *handle,  const char *pat
 
         /* Only handle DOS Attributes */
         if (strcmp(name,SAMBA_XATTR_DOS_ATTRIB) != 0){
-                DEBUG(1, ("gpfs_get_xattr:name is %s\n",name));
+               DEBUG(5, ("gpfs_get_xattr:name is %s\n",name));
                 return SMB_VFS_NEXT_GETXATTR(handle,path,name,value,size);
         }