diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-10-16 15:26:03 +0400 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2009-11-23 15:24:33 +0100 |
commit | 1f840b125ba559881f895cc94a1cd72e89cb9ac8 (patch) | |
tree | 17e95a1e271cfe7949b8ccd80ba90c9436ac1a94 /include | |
parent | 5f1232a356e5e351e71d09865da1118ee78ad096 (diff) |
const: struct quota_format_ops
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/quota.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h index 78c48895b12a..c878aa8aa84a 100644 --- a/include/linux/quota.h +++ b/include/linux/quota.h @@ -334,7 +334,7 @@ struct quotactl_ops { struct quota_format_type { int qf_fmt_id; /* Quota format id */ - struct quota_format_ops *qf_ops; /* Operations of format */ + const struct quota_format_ops *qf_ops; /* Operations of format */ struct module *qf_owner; /* Module implementing quota format */ struct quota_format_type *qf_next; }; @@ -383,7 +383,7 @@ struct quota_info { struct rw_semaphore dqptr_sem; /* serialize ops using quota_info struct, pointers from inode to dquots */ struct inode *files[MAXQUOTAS]; /* inodes of quotafiles */ struct mem_dqinfo info[MAXQUOTAS]; /* Information for each quota type */ - struct quota_format_ops *ops[MAXQUOTAS]; /* Operations for each type */ + const struct quota_format_ops *ops[MAXQUOTAS]; /* Operations for each type */ }; int register_quota_format(struct quota_format_type *fmt); |