/*
* Update a slave quota entry. This is done by reading enforcement status from
- * the copy of the global index and then how much is the slave currenly owns
+ * the copy of the global index and the amount the slave currenly owns
* for this user from the slave index copy.
*
* \param env - the environment passed by the caller
* \param lqe - is the quota entry to refresh
* \param arg - is the pointer to the qsd_qtype_info structure
+ * \param need_crt - needed to be compat with qmt_lqe_read
*/
static int qsd_lqe_read(const struct lu_env *env, struct lquota_entry *lqe,
- void *arg)
+ void *arg, bool need_crt)
{
struct qsd_thread_info *qti = qsd_info(env);
struct qsd_qtype_info *qqi = (struct qsd_qtype_info *)arg;
/*
* Vector of quota entry operations supported on the slave
*/
-struct lquota_entry_operations qsd_lqe_ops = {
+const struct lquota_entry_operations qsd_lqe_ops = {
.lqe_init = qsd_lqe_init,
.lqe_read = qsd_lqe_read,
.lqe_debug = qsd_lqe_debug,