xfs
[Top] [All Lists]

Re: [PATCH] Minor whitespace cleanups

To: xfs@xxxxxxxxxxx
Subject: Re: [PATCH] Minor whitespace cleanups
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Wed, 20 Jan 2016 11:35:43 -0600
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1453200369-20171-1-git-send-email-cmaiolino@xxxxxxxxxx>
References: <1453200369-20171-1-git-send-email-cmaiolino@xxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
On 1/19/16 4:46 AM, Carlos Maiolino wrote:
> While investigating a quota issue, I fixed a few whitespaces.
> 
> Signed-off-by: Carlos Maiolino <cmaiolino@xxxxxxxxxx>
> ---
>  include/xqm.h | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/include/xqm.h b/include/xqm.h
> index 47f58a0..697cad4 100644
> --- a/include/xqm.h
> +++ b/include/xqm.h
> @@ -55,14 +55,14 @@ typedef struct fs_disk_quota {
>       __s32           d_itimer;       /* zero if within inode limits */
>                                       /* if not, we refuse service */
>       __s32           d_btimer;       /* similar to above; for disk blocks */
> -     __u16           d_iwarns;       /* # warnings issued wrt num inodes */
> -     __u16           d_bwarns;       /* # warnings issued wrt disk blocks */
> +     __u16           d_iwarns;       /* # warnings issued wrt num inodes */
> +     __u16           d_bwarns;       /* # warnings issued wrt disk blocks */
                                 ^^^^^^^

If you're going to fix it up, might as well get the spaces-not-tabs
before the comments on these 2 lines ;)

>       __s32           d_padding2;     /* padding2 - for future use */
>       __u64           d_rtb_hardlimit;/* absolute limit on realtime blks */
>       __u64           d_rtb_softlimit;/* preferred limit on RT disk blks */
>       __u64           d_rtbcount;     /* # realtime blocks owned */
>       __s32           d_rtbtimer;     /* similar to above; for RT disk blks */
> -     __u16           d_rtbwarns;     /* # warnings issued wrt RT disk blks */
> +     __u16           d_rtbwarns;     /* # warnings issued wrt RT disk blks */

and on this one as well

-Eric

>       __s16           d_padding3;     /* padding3 - for future use */
>       char            d_padding4[8];  /* yet more padding */
>  } fs_disk_quota_t;
> @@ -73,7 +73,7 @@ typedef struct fs_disk_quota {
>  #define FS_DQ_ISOFT  (1<<0)
>  #define FS_DQ_IHARD  (1<<1)
>  #define FS_DQ_BSOFT  (1<<2)
> -#define FS_DQ_BHARD  (1<<3)
> +#define FS_DQ_BHARD  (1<<3)
>  #define FS_DQ_RTBSOFT        (1<<4)
>  #define FS_DQ_RTBHARD        (1<<5)
>  #define FS_DQ_LIMIT_MASK     (FS_DQ_ISOFT | FS_DQ_IHARD | FS_DQ_BSOFT | \
> @@ -87,7 +87,7 @@ typedef struct fs_disk_quota {
>   */
>  #define FS_DQ_BTIMER (1<<6)
>  #define FS_DQ_ITIMER (1<<7)
> -#define FS_DQ_RTBTIMER       (1<<8)
> +#define FS_DQ_RTBTIMER       (1<<8)
>  #define FS_DQ_TIMER_MASK     (FS_DQ_BTIMER | FS_DQ_ITIMER | FS_DQ_RTBTIMER)
>  
>  /*
> 

<Prev in Thread] Current Thread [Next in Thread>