* [PATCH] Minor whitespace cleanups
@ 2016-01-19 10:46 Carlos Maiolino
2016-01-20 17:35 ` Eric Sandeen
0 siblings, 1 reply; 2+ messages in thread
From: Carlos Maiolino @ 2016-01-19 10:46 UTC (permalink / raw)
To: xfs
While investigating a quota issue, I fixed a few whitespaces.
Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
---
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 */
__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 */
__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)
/*
--
2.4.3
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Minor whitespace cleanups
2016-01-19 10:46 [PATCH] Minor whitespace cleanups Carlos Maiolino
@ 2016-01-20 17:35 ` Eric Sandeen
0 siblings, 0 replies; 2+ messages in thread
From: Eric Sandeen @ 2016-01-20 17:35 UTC (permalink / raw)
To: xfs
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@redhat.com>
> ---
> 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)
>
> /*
>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-20 17:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-19 10:46 [PATCH] Minor whitespace cleanups Carlos Maiolino
2016-01-20 17:35 ` Eric Sandeen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox