diff options
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 ce9a9b2e5cd4..f63c9d6ba784 100644 --- a/include/linux/quota.h +++ b/include/linux/quota.h | |||
@@ -334,7 +334,7 @@ struct quotactl_ops { | |||
334 | 334 | ||
335 | struct quota_format_type { | 335 | struct quota_format_type { |
336 | int qf_fmt_id; /* Quota format id */ | 336 | int qf_fmt_id; /* Quota format id */ |
337 | struct quota_format_ops *qf_ops; /* Operations of format */ | 337 | const struct quota_format_ops *qf_ops; /* Operations of format */ |
338 | struct module *qf_owner; /* Module implementing quota format */ | 338 | struct module *qf_owner; /* Module implementing quota format */ |
339 | struct quota_format_type *qf_next; | 339 | struct quota_format_type *qf_next; |
340 | }; | 340 | }; |
@@ -394,7 +394,7 @@ struct quota_info { | |||
394 | struct rw_semaphore dqptr_sem; /* serialize ops using quota_info struct, pointers from inode to dquots */ | 394 | struct rw_semaphore dqptr_sem; /* serialize ops using quota_info struct, pointers from inode to dquots */ |
395 | struct inode *files[MAXQUOTAS]; /* inodes of quotafiles */ | 395 | struct inode *files[MAXQUOTAS]; /* inodes of quotafiles */ |
396 | struct mem_dqinfo info[MAXQUOTAS]; /* Information for each quota type */ | 396 | struct mem_dqinfo info[MAXQUOTAS]; /* Information for each quota type */ |
397 | struct quota_format_ops *ops[MAXQUOTAS]; /* Operations for each type */ | 397 | const struct quota_format_ops *ops[MAXQUOTAS]; /* Operations for each type */ |
398 | }; | 398 | }; |
399 | 399 | ||
400 | int register_quota_format(struct quota_format_type *fmt); | 400 | int register_quota_format(struct quota_format_type *fmt); |