linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] quota: remove trailing whitespaces
@ 2019-03-26  7:54 Sascha Hauer
  2019-03-26 10:21 ` Jan Kara
  0 siblings, 1 reply; 2+ messages in thread
From: Sascha Hauer @ 2019-03-26  7:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jan Kara, kernel, Sascha Hauer

This removes all trailing whitespaces in fs/quota/.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 fs/quota/dquot.c    | 10 +++++-----
 fs/quota/quota_v1.c |  2 +-
 fs/quota/quota_v2.c |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c
index fc20e06c56ba..0036d27206a8 100644
--- a/fs/quota/dquot.c
+++ b/fs/quota/dquot.c
@@ -9,7 +9,7 @@
  * on the Melbourne quota system as used on BSD derived systems. The internal
  * implementation is based on one of the several variants of the LINUX
  * inode-subsystem with added complexity of the diskquota system.
- * 
+ *
  * Author:	Marco van Wieringen <mvw@planets.elm.net>
  *
  * Fixes:   Dmitry Gorodchanin <pgmdsg@ibi.com>, 11 Feb 96
@@ -51,7 +51,7 @@
  *		Added journalled quota support, fix lock inversion problems
  *		Jan Kara, <jack@suse.cz>, 2003,2004
  *
- * (C) Copyright 1994 - 1997 Marco van Wieringen 
+ * (C) Copyright 1994 - 1997 Marco van Wieringen
  */
 
 #include <linux/errno.h>
@@ -197,7 +197,7 @@ static struct quota_format_type *find_quota_format(int id)
 		int qm;
 
 		spin_unlock(&dq_list_lock);
-		
+
 		for (qm = 0; module_names[qm].qm_fmt_id &&
 			     module_names[qm].qm_fmt_id != id; qm++)
 			;
@@ -2397,7 +2397,7 @@ static int vfs_load_quota_inode(struct inode *inode, int type, int format_id,
 out_fmt:
 	put_quota_format(fmt);
 
-	return error; 
+	return error;
 }
 
 /* Reenable quotas on remount RW */
@@ -2775,7 +2775,7 @@ int dquot_get_state(struct super_block *sb, struct qc_state *state)
 	struct qc_type_state *tstate;
 	struct quota_info *dqopt = sb_dqopt(sb);
 	int type;
-  
+
 	memset(state, 0, sizeof(*state));
 	for (type = 0; type < MAXQUOTAS; type++) {
 		if (!sb_has_quota_active(sb, type))
diff --git a/fs/quota/quota_v1.c b/fs/quota/quota_v1.c
index 7ac5298aba70..9f2b2573b83c 100644
--- a/fs/quota/quota_v1.c
+++ b/fs/quota/quota_v1.c
@@ -127,7 +127,7 @@ static int v1_check_quota_file(struct super_block *sb, int type)
 {
 	struct inode *inode = sb_dqopt(sb)->files[type];
 	ulong blocks;
-	size_t off; 
+	size_t off;
 	struct v2_disk_dqheader dqhead;
 	ssize_t size;
 	loff_t isize;
diff --git a/fs/quota/quota_v2.c b/fs/quota/quota_v2.c
index a73e5b34db41..3c30034e733f 100644
--- a/fs/quota/quota_v2.c
+++ b/fs/quota/quota_v2.c
@@ -78,7 +78,7 @@ static int v2_check_quota_file(struct super_block *sb, int type)
 	struct v2_disk_dqheader dqhead;
 	static const uint quota_magics[] = V2_INITQMAGICS;
 	static const uint quota_versions[] = V2_INITQVERSIONS;
- 
+
 	if (v2_read_header(sb, type, &dqhead))
 		return 0;
 	if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] ||
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] quota: remove trailing whitespaces
  2019-03-26  7:54 [PATCH] quota: remove trailing whitespaces Sascha Hauer
@ 2019-03-26 10:21 ` Jan Kara
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2019-03-26 10:21 UTC (permalink / raw)
  To: Sascha Hauer; +Cc: linux-kernel, Jan Kara, kernel

On Tue 26-03-19 08:54:31, Sascha Hauer wrote:
> This removes all trailing whitespaces in fs/quota/.
> 
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Thanks. Applied.

								Honza

> ---
>  fs/quota/dquot.c    | 10 +++++-----
>  fs/quota/quota_v1.c |  2 +-
>  fs/quota/quota_v2.c |  2 +-
>  3 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/fs/quota/dquot.c b/fs/quota/dquot.c
> index fc20e06c56ba..0036d27206a8 100644
> --- a/fs/quota/dquot.c
> +++ b/fs/quota/dquot.c
> @@ -9,7 +9,7 @@
>   * on the Melbourne quota system as used on BSD derived systems. The internal
>   * implementation is based on one of the several variants of the LINUX
>   * inode-subsystem with added complexity of the diskquota system.
> - * 
> + *
>   * Author:	Marco van Wieringen <mvw@planets.elm.net>
>   *
>   * Fixes:   Dmitry Gorodchanin <pgmdsg@ibi.com>, 11 Feb 96
> @@ -51,7 +51,7 @@
>   *		Added journalled quota support, fix lock inversion problems
>   *		Jan Kara, <jack@suse.cz>, 2003,2004
>   *
> - * (C) Copyright 1994 - 1997 Marco van Wieringen 
> + * (C) Copyright 1994 - 1997 Marco van Wieringen
>   */
>  
>  #include <linux/errno.h>
> @@ -197,7 +197,7 @@ static struct quota_format_type *find_quota_format(int id)
>  		int qm;
>  
>  		spin_unlock(&dq_list_lock);
> -		
> +
>  		for (qm = 0; module_names[qm].qm_fmt_id &&
>  			     module_names[qm].qm_fmt_id != id; qm++)
>  			;
> @@ -2397,7 +2397,7 @@ static int vfs_load_quota_inode(struct inode *inode, int type, int format_id,
>  out_fmt:
>  	put_quota_format(fmt);
>  
> -	return error; 
> +	return error;
>  }
>  
>  /* Reenable quotas on remount RW */
> @@ -2775,7 +2775,7 @@ int dquot_get_state(struct super_block *sb, struct qc_state *state)
>  	struct qc_type_state *tstate;
>  	struct quota_info *dqopt = sb_dqopt(sb);
>  	int type;
> -  
> +
>  	memset(state, 0, sizeof(*state));
>  	for (type = 0; type < MAXQUOTAS; type++) {
>  		if (!sb_has_quota_active(sb, type))
> diff --git a/fs/quota/quota_v1.c b/fs/quota/quota_v1.c
> index 7ac5298aba70..9f2b2573b83c 100644
> --- a/fs/quota/quota_v1.c
> +++ b/fs/quota/quota_v1.c
> @@ -127,7 +127,7 @@ static int v1_check_quota_file(struct super_block *sb, int type)
>  {
>  	struct inode *inode = sb_dqopt(sb)->files[type];
>  	ulong blocks;
> -	size_t off; 
> +	size_t off;
>  	struct v2_disk_dqheader dqhead;
>  	ssize_t size;
>  	loff_t isize;
> diff --git a/fs/quota/quota_v2.c b/fs/quota/quota_v2.c
> index a73e5b34db41..3c30034e733f 100644
> --- a/fs/quota/quota_v2.c
> +++ b/fs/quota/quota_v2.c
> @@ -78,7 +78,7 @@ static int v2_check_quota_file(struct super_block *sb, int type)
>  	struct v2_disk_dqheader dqhead;
>  	static const uint quota_magics[] = V2_INITQMAGICS;
>  	static const uint quota_versions[] = V2_INITQVERSIONS;
> - 
> +
>  	if (v2_read_header(sb, type, &dqhead))
>  		return 0;
>  	if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] ||
> -- 
> 2.20.1
> 
> 
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-26 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26  7:54 [PATCH] quota: remove trailing whitespaces Sascha Hauer
2019-03-26 10:21 ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).