Re: [PATCH] xfsprogs: define xfs_stack_trace() for debug builds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 19, 2018 at 03:19:14PM -0500, Eric Sandeen wrote:
> Building with -DDEBUG fails due to lack of an xfs_stack_trace def'n.
> 
> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>

Looks fine.
Reviewed-by: Bill O'Donnell <billodo@xxxxxxxxxx>

> ---
> 
> diff --git a/libxfs/libxfs_priv.h b/libxfs/libxfs_priv.h
> index 2f2ca06..b6746ca 100644
> --- a/libxfs/libxfs_priv.h
> +++ b/libxfs/libxfs_priv.h
> @@ -118,6 +118,8 @@ enum ce { CE_DEBUG, CE_CONT, CE_NOTE, CE_WARN, CE_ALERT, CE_PANIC };
>  #define xfs_alert_tag(mp,tag,fmt,args...)	cmn_err(CE_ALERT,fmt, ## args)
>  
>  #define xfs_hex_dump(d,n)		((void) 0)
> +#define xfs_stack_trace()		((void) 0)
> +
>  
>  #define xfs_force_shutdown(d,n)		((void) 0)
>  
> 



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux