mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
quota: Remove dquot_quotactl_ops
Nobody uses them anymore. Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
parent
a480b5bebd
commit
139c279fb9
2 changed files with 0 additions and 13 deletions
|
@ -2771,18 +2771,6 @@ int dquot_set_dqinfo(struct super_block *sb, int type, struct qc_info *ii)
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(dquot_set_dqinfo);
|
EXPORT_SYMBOL(dquot_set_dqinfo);
|
||||||
|
|
||||||
const struct quotactl_ops dquot_quotactl_ops = {
|
|
||||||
.quota_on = dquot_quota_on,
|
|
||||||
.quota_off = dquot_quota_off,
|
|
||||||
.quota_sync = dquot_quota_sync,
|
|
||||||
.get_state = dquot_get_state,
|
|
||||||
.set_info = dquot_set_dqinfo,
|
|
||||||
.get_dqblk = dquot_get_dqblk,
|
|
||||||
.get_nextdqblk = dquot_get_next_dqblk,
|
|
||||||
.set_dqblk = dquot_set_dqblk
|
|
||||||
};
|
|
||||||
EXPORT_SYMBOL(dquot_quotactl_ops);
|
|
||||||
|
|
||||||
const struct quotactl_ops dquot_quotactl_sysfile_ops = {
|
const struct quotactl_ops dquot_quotactl_sysfile_ops = {
|
||||||
.quota_enable = dquot_quota_enable,
|
.quota_enable = dquot_quota_enable,
|
||||||
.quota_disable = dquot_quota_disable,
|
.quota_disable = dquot_quota_disable,
|
||||||
|
|
|
@ -162,7 +162,6 @@ static inline bool sb_has_quota_active(struct super_block *sb, int type)
|
||||||
* Operations supported for diskquotas.
|
* Operations supported for diskquotas.
|
||||||
*/
|
*/
|
||||||
extern const struct dquot_operations dquot_operations;
|
extern const struct dquot_operations dquot_operations;
|
||||||
extern const struct quotactl_ops dquot_quotactl_ops;
|
|
||||||
extern const struct quotactl_ops dquot_quotactl_sysfile_ops;
|
extern const struct quotactl_ops dquot_quotactl_sysfile_ops;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue