diff options
author | Jan Kara <jack@suse.cz> | 2008-04-28 11:14:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 17:58:33 +0200 |
commit | 03f6e92bdd467aed9d7571a571868563ae6ad288 (patch) | |
tree | b10ba6373ffeb0d929ec9004faafcc0ac64103c0 /fs/reiserfs | |
parent | quota: remove superfluous DQUOT_OFF() in fs/namespace.c (diff) | |
download | linux-03f6e92bdd467aed9d7571a571868563ae6ad288.tar.xz linux-03f6e92bdd467aed9d7571a571868563ae6ad288.zip |
quota: various style cleanups
Cleanups in quota code:
Change __inline__ to inline.
Change some macros to inline functions.
Remove vfs_quota_off_mount() macro.
DQUOT_OFF() should be (0) is CONFIG_QUOTA is disabled.
Move declaration of mark_dquot_dirty and dirty_dquot from quota.h to dquot.c
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/reiserfs')
-rw-r--r-- | fs/reiserfs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c index 393cc22c1717..3e1972d31e44 100644 --- a/fs/reiserfs/super.c +++ b/fs/reiserfs/super.c @@ -304,7 +304,7 @@ static int finish_unfinished(struct super_block *s) /* Turn quotas off */ for (i = 0; i < MAXQUOTAS; i++) { if (sb_dqopt(s)->files[i]) - vfs_quota_off_mount(s, i); + vfs_quota_off(s, i); } if (ms_active_set) /* Restore the flag back */ |