X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;ds=sidebyside;f=lustre%2Fmdt%2Fmdt_handler.c;h=b2db7c288038e50647682ab6f1ff93eb685453a7;hb=78be823f33396819724330d7154f054c52e11944;hp=b6de9150029c7bdbfc4bfc7e570f331800c5f87d;hpb=88c26912a3237fb63923bbb7c7b09111f9f30bbe;p=fs%2Flustre-release.git diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index b6de915..b2db7c2 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -3219,6 +3219,7 @@ static int mdt_quotactl(struct tgt_session_info *tsi) case LUSTRE_Q_SETQUOTAPOOL: case LUSTRE_Q_SETINFOPOOL: case LUSTRE_Q_SETDEFAULT_POOL: + case LUSTRE_Q_DELETEQID: if (!nodemap_can_setquota(nodemap, oqctl->qc_type, oqctl->qc_id)) GOTO(out_nodemap, rc = -EPERM); @@ -3289,6 +3290,7 @@ static int mdt_quotactl(struct tgt_session_info *tsi) case LUSTRE_Q_GETINFOPOOL: case LUSTRE_Q_SETDEFAULT_POOL: case LUSTRE_Q_GETDEFAULT_POOL: + case LUSTRE_Q_DELETEQID: /* forward quotactl request to QMT */ rc = qmt_hdls.qmth_quotactl(tsi->tsi_env, qmt, oqctl); break;