mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
const: struct quota_format_ops
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
parent
5ced58f735
commit
1472da5fdc
4 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
@ -394,7 +394,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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue