diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-03-26 03:54:31 -0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2019-03-26 06:21:37 -0400 |
commit | 27942ef503a5e95865473c7c8c93ee9f167641cb (patch) | |
tree | 4169cf7255c99b2bb7337d2a4e1e104c81a79984 | |
parent | df15a2a59d0b29d86e17140b83ed231adaded12f (diff) |
quota: remove trailing whitespaces
This removes all trailing whitespaces in fs/quota/.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Jan Kara <jack@suse.cz>
-rw-r--r-- | fs/quota/dquot.c | 10 | ||||
-rw-r--r-- | fs/quota/quota_v1.c | 2 | ||||
-rw-r--r-- | 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 00de508f9d2e..cfbf91e61ea4 100644 --- a/fs/quota/dquot.c +++ b/fs/quota/dquot.c | |||
@@ -9,7 +9,7 @@ | |||
9 | * on the Melbourne quota system as used on BSD derived systems. The internal | 9 | * on the Melbourne quota system as used on BSD derived systems. The internal |
10 | * implementation is based on one of the several variants of the LINUX | 10 | * implementation is based on one of the several variants of the LINUX |
11 | * inode-subsystem with added complexity of the diskquota system. | 11 | * inode-subsystem with added complexity of the diskquota system. |
12 | * | 12 | * |
13 | * Author: Marco van Wieringen <mvw@planets.elm.net> | 13 | * Author: Marco van Wieringen <mvw@planets.elm.net> |
14 | * | 14 | * |
15 | * Fixes: Dmitry Gorodchanin <pgmdsg@ibi.com>, 11 Feb 96 | 15 | * Fixes: Dmitry Gorodchanin <pgmdsg@ibi.com>, 11 Feb 96 |
@@ -51,7 +51,7 @@ | |||
51 | * Added journalled quota support, fix lock inversion problems | 51 | * Added journalled quota support, fix lock inversion problems |
52 | * Jan Kara, <jack@suse.cz>, 2003,2004 | 52 | * Jan Kara, <jack@suse.cz>, 2003,2004 |
53 | * | 53 | * |
54 | * (C) Copyright 1994 - 1997 Marco van Wieringen | 54 | * (C) Copyright 1994 - 1997 Marco van Wieringen |
55 | */ | 55 | */ |
56 | 56 | ||
57 | #include <linux/errno.h> | 57 | #include <linux/errno.h> |
@@ -197,7 +197,7 @@ static struct quota_format_type *find_quota_format(int id) | |||
197 | int qm; | 197 | int qm; |
198 | 198 | ||
199 | spin_unlock(&dq_list_lock); | 199 | spin_unlock(&dq_list_lock); |
200 | 200 | ||
201 | for (qm = 0; module_names[qm].qm_fmt_id && | 201 | for (qm = 0; module_names[qm].qm_fmt_id && |
202 | module_names[qm].qm_fmt_id != id; qm++) | 202 | module_names[qm].qm_fmt_id != id; qm++) |
203 | ; | 203 | ; |
@@ -2397,7 +2397,7 @@ out_file_flags: | |||
2397 | out_fmt: | 2397 | out_fmt: |
2398 | put_quota_format(fmt); | 2398 | put_quota_format(fmt); |
2399 | 2399 | ||
2400 | return error; | 2400 | return error; |
2401 | } | 2401 | } |
2402 | 2402 | ||
2403 | /* Reenable quotas on remount RW */ | 2403 | /* Reenable quotas on remount RW */ |
@@ -2775,7 +2775,7 @@ int dquot_get_state(struct super_block *sb, struct qc_state *state) | |||
2775 | struct qc_type_state *tstate; | 2775 | struct qc_type_state *tstate; |
2776 | struct quota_info *dqopt = sb_dqopt(sb); | 2776 | struct quota_info *dqopt = sb_dqopt(sb); |
2777 | int type; | 2777 | int type; |
2778 | 2778 | ||
2779 | memset(state, 0, sizeof(*state)); | 2779 | memset(state, 0, sizeof(*state)); |
2780 | for (type = 0; type < MAXQUOTAS; type++) { | 2780 | for (type = 0; type < MAXQUOTAS; type++) { |
2781 | if (!sb_has_quota_active(sb, type)) | 2781 | 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) | |||
127 | { | 127 | { |
128 | struct inode *inode = sb_dqopt(sb)->files[type]; | 128 | struct inode *inode = sb_dqopt(sb)->files[type]; |
129 | ulong blocks; | 129 | ulong blocks; |
130 | size_t off; | 130 | size_t off; |
131 | struct v2_disk_dqheader dqhead; | 131 | struct v2_disk_dqheader dqhead; |
132 | ssize_t size; | 132 | ssize_t size; |
133 | loff_t isize; | 133 | 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) | |||
78 | struct v2_disk_dqheader dqhead; | 78 | struct v2_disk_dqheader dqhead; |
79 | static const uint quota_magics[] = V2_INITQMAGICS; | 79 | static const uint quota_magics[] = V2_INITQMAGICS; |
80 | static const uint quota_versions[] = V2_INITQVERSIONS; | 80 | static const uint quota_versions[] = V2_INITQVERSIONS; |
81 | 81 | ||
82 | if (v2_read_header(sb, type, &dqhead)) | 82 | if (v2_read_header(sb, type, &dqhead)) |
83 | return 0; | 83 | return 0; |
84 | if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] || | 84 | if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] || |