diff options
| author | Andrew Morton <akpm@osdl.org> | 2003-07-06 05:41:19 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-07-06 05:41:19 -0700 |
| commit | c132f1432948dc91fd7d03845dfcd918d8b732c4 (patch) | |
| tree | 5c1511d49166e2dda5de84bf2c31591b04e8b754 /include/linux | |
| parent | 6abc05cce8b06b9c986fb2bbd83e6fa9888ab1be (diff) | |
[PATCH] Module autoloading for quota
From: Jan Kara <jack@suse.cz>
This implements autoloading of quota modules.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/quota.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h index 77d017472dc7..fbf2d2b2a5be 100644 --- a/include/linux/quota.h +++ b/include/linux/quota.h @@ -306,6 +306,16 @@ int register_quota_format(struct quota_format_type *fmt); void unregister_quota_format(struct quota_format_type *fmt); void init_dquot_operations(struct dquot_operations *fsdqops); +struct quota_module_name { + int qm_fmt_id; + char *qm_mod_name; +}; + +#define INIT_QUOTA_MODULE_NAMES {\ + {QFMT_VFS_OLD, "quota_v1"},\ + {QFMT_VFS_V0, "quota_v2"},\ + {0, NULL}} + #else # /* nodep */ include <sys/cdefs.h> |
