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>
This commit is contained in:
parent
df15a2a59d
commit
27942ef503
|
@ -9,7 +9,7 @@
|
||||||
* on the Melbourne quota system as used on BSD derived systems. The internal
|
* 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
|
* implementation is based on one of the several variants of the LINUX
|
||||||
* inode-subsystem with added complexity of the diskquota system.
|
* inode-subsystem with added complexity of the diskquota system.
|
||||||
*
|
*
|
||||||
* Author: Marco van Wieringen <mvw@planets.elm.net>
|
* Author: Marco van Wieringen <mvw@planets.elm.net>
|
||||||
*
|
*
|
||||||
* Fixes: Dmitry Gorodchanin <pgmdsg@ibi.com>, 11 Feb 96
|
* Fixes: Dmitry Gorodchanin <pgmdsg@ibi.com>, 11 Feb 96
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
* Added journalled quota support, fix lock inversion problems
|
* Added journalled quota support, fix lock inversion problems
|
||||||
* Jan Kara, <jack@suse.cz>, 2003,2004
|
* 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>
|
#include <linux/errno.h>
|
||||||
|
@ -197,7 +197,7 @@ static struct quota_format_type *find_quota_format(int id)
|
||||||
int qm;
|
int qm;
|
||||||
|
|
||||||
spin_unlock(&dq_list_lock);
|
spin_unlock(&dq_list_lock);
|
||||||
|
|
||||||
for (qm = 0; module_names[qm].qm_fmt_id &&
|
for (qm = 0; module_names[qm].qm_fmt_id &&
|
||||||
module_names[qm].qm_fmt_id != id; qm++)
|
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:
|
out_fmt:
|
||||||
put_quota_format(fmt);
|
put_quota_format(fmt);
|
||||||
|
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Reenable quotas on remount RW */
|
/* 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 qc_type_state *tstate;
|
||||||
struct quota_info *dqopt = sb_dqopt(sb);
|
struct quota_info *dqopt = sb_dqopt(sb);
|
||||||
int type;
|
int type;
|
||||||
|
|
||||||
memset(state, 0, sizeof(*state));
|
memset(state, 0, sizeof(*state));
|
||||||
for (type = 0; type < MAXQUOTAS; type++) {
|
for (type = 0; type < MAXQUOTAS; type++) {
|
||||||
if (!sb_has_quota_active(sb, type))
|
if (!sb_has_quota_active(sb, type))
|
||||||
|
|
|
@ -127,7 +127,7 @@ static int v1_check_quota_file(struct super_block *sb, int type)
|
||||||
{
|
{
|
||||||
struct inode *inode = sb_dqopt(sb)->files[type];
|
struct inode *inode = sb_dqopt(sb)->files[type];
|
||||||
ulong blocks;
|
ulong blocks;
|
||||||
size_t off;
|
size_t off;
|
||||||
struct v2_disk_dqheader dqhead;
|
struct v2_disk_dqheader dqhead;
|
||||||
ssize_t size;
|
ssize_t size;
|
||||||
loff_t isize;
|
loff_t isize;
|
||||||
|
|
|
@ -78,7 +78,7 @@ static int v2_check_quota_file(struct super_block *sb, int type)
|
||||||
struct v2_disk_dqheader dqhead;
|
struct v2_disk_dqheader dqhead;
|
||||||
static const uint quota_magics[] = V2_INITQMAGICS;
|
static const uint quota_magics[] = V2_INITQMAGICS;
|
||||||
static const uint quota_versions[] = V2_INITQVERSIONS;
|
static const uint quota_versions[] = V2_INITQVERSIONS;
|
||||||
|
|
||||||
if (v2_read_header(sb, type, &dqhead))
|
if (v2_read_header(sb, type, &dqhead))
|
||||||
return 0;
|
return 0;
|
||||||
if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] ||
|
if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] ||
|
||||||
|
|
Loading…
Reference in New Issue
Block a user