Commit d552b45f authored by Baokun Li's avatar Baokun Li
Browse files

quota: kabi: KABI reservation for quota

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I91COK



----------------------------------------------------------------------

    structure                size reserves reserved

    quota_format_ops         64      2      80
    dquot_operations         88      2      104

Signed-off-by: default avatarBaokun Li <libaokun1@huawei.com>
parent fa30d756
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -318,6 +318,9 @@ struct quota_format_ops {
	int (*commit_dqblk)(struct dquot *dquot);	/* Write structure for one user */
	int (*release_dqblk)(struct dquot *dquot);	/* Called when last reference to dquot is being dropped */
	int (*get_next_id)(struct super_block *sb, struct kqid *qid);	/* Get next ID with existing structure in the quota file */

	KABI_RESERVE(1)
	KABI_RESERVE(2)
};

/* Operations working with dquots */
@@ -337,6 +340,9 @@ struct dquot_operations {
	int (*get_inode_usage) (struct inode *, qsize_t *);
	/* Get next ID with active quota structure */
	int (*get_next_id) (struct super_block *sb, struct kqid *qid);

	KABI_RESERVE(1)
	KABI_RESERVE(2)
};

struct path;