Whamcloud - gitweb
LU-14687 llite: Return errors for aio
[fs/lustre-release.git] / lustre / quota / qsd_entry.c
index 3f622b9..c3a434f 100644 (file)
@@ -60,9 +60,10 @@ static void qsd_lqe_init(struct lquota_entry *lqe, void *arg)
  * \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;
@@ -183,7 +184,7 @@ static void qsd_lqe_debug(struct lquota_entry *lqe, void *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,