[PATCH] s3:vfs_gpfs: increase log level for EPERM and EACCES errors in gpfs_get_xattr()

Jeremy Allison jra at samba.org
Wed May 14 10:22:31 MDT 2014


On Wed, May 14, 2014 at 04:22:42PM +0200, Christof Schmitt wrote:
> >From ea3c066e8383ab85fc7e6ad246c3ea867ee45985 Mon Sep 17 00:00:00 2001
> From: Ralph Wuerthner <ralph.wuerthner at de.ibm.com>
> Date: Fri, 31 Jan 2014 10:31:21 +0100
> Subject: [PATCH] s3:vfs_gpfs: increase log level for EPERM and EACCES errors in gpfs_get_xattr()
> 
> Signed-off-by: Ralph Wuerthner <ralph.wuerthner at de.ibm.com>
> Reviewed-by: Christof Schmitt <cs at samba.org>
> ---
>  source3/modules/vfs_gpfs.c |   10 ++++++++--
>  1 files changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
> index a56af8f..c9d4343 100644
> --- a/source3/modules/vfs_gpfs.c
> +++ b/source3/modules/vfs_gpfs.c
> @@ -1448,6 +1448,7 @@ static ssize_t gpfs_get_xattr(struct vfs_handle_struct *handle,  const char *pat
>          struct gpfs_winattr attrs;
>          int ret = 0;
>  	struct gpfs_config_data *config;
> +	int debug;

Pushed, with two cosmetic changes, moved 'int debug'
inside the containing brackets, and changed the
name to dbglvl (to avoid shadow name conflicts).



More information about the samba-technical mailing list