X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fquota%2Fqmt_dev.c;h=85120352b528d33374a95259854390e115c741dc;hp=701cc161a3fbe2e0b04b89aa94f5442bfc28a444;hb=8483a7d0f6518a3cdf513489d23d9caf1a31347d;hpb=38555069bf3de77726a1afb9d15911bc4db484b7 diff --git a/lustre/quota/qmt_dev.c b/lustre/quota/qmt_dev.c index 701cc16..8512035 100644 --- a/lustre/quota/qmt_dev.c +++ b/lustre/quota/qmt_dev.c @@ -101,15 +101,15 @@ static struct lu_device *qmt_device_fini(const struct lu_env *env, CDEBUG(D_QUOTA, "%s: initiating QMT shutdown\n", qmt->qmt_svname); qmt->qmt_stopping = true; + /* kill pool instances, if any */ + qmt_pool_fini(env, qmt); + /* remove qmt proc entry */ if (qmt->qmt_proc != NULL && !IS_ERR(qmt->qmt_proc)) { lprocfs_remove(&qmt->qmt_proc); qmt->qmt_proc = NULL; } - /* kill pool instances, if any */ - qmt_pool_fini(env, qmt); - /* disconnect from OSD */ if (qmt->qmt_child_exp != NULL) { obd_disconnect(qmt->qmt_child_exp);