quota: move function-macros from quota.h to quotaops.h

Move declarations of some macros, which should be in fact functions to
quotaops.h.  This way they can be later converted to inline functions
because we can now use declarations from quota.h.  Also add necessary
includes of quotaops.h to a few files.

[[email protected]: fix JFS build]
[[email protected]: fix UFS build]
[[email protected]: fix QUOTA=n build]
Signed-off-by: Jan Kara <[email protected]>
Cc: Vegard Nossum <[email protected]>
Cc: Arjen Pool <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Jan Kara 2008-07-25 01:46:51 -07:00 • committed by Linus Torvalds
commit 74abb9890d
8 changed files with 35 additions and 19 deletions

View file

@ -31,6 +31,7 @@
#include <linux/seq_file.h>
#include <linux/mount.h>
#include <linux/log2.h>
#include <linux/quotaops.h>
#include <asm/uaccess.h>
#include "ext2.h"
#include "xattr.h"