blkcg: make blkg_conf_prep() take @pol and return with queue lock held
[firefly-linux-kernel-4.4.55.git] / block / blk-throttle.c
index 0dc4645aa7fe169b446380bad4bf6206f5e503c2..6f1bfdf9a1b75dad2390ad23057eaa7ad63fb39f 100644 (file)
@@ -993,7 +993,7 @@ static int tg_set_conf(struct cgroup *cgrp, struct cftype *cft, const char *buf,
        struct throtl_grp *tg;
        int ret;
 
-       ret = blkg_conf_prep(blkcg, buf, &ctx);
+       ret = blkg_conf_prep(blkcg, &blkio_policy_throtl, buf, &ctx);
        if (ret)
                return ret;