Message ID | alpine.DEB.2.21.1808311158220.2328@hadrien (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | blkcg: fix call_kern.cocci warnings | expand |
--- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c @@ -240,7 +240,7 @@ static struct blkcg_gq *blkg_create(stru blkg_get(blkg->parent); } - ret = percpu_ref_init(&blkg->refcnt, __blkg_release, 0, GFP_KERNEL); + ret = percpu_ref_init(&blkg->refcnt, __blkg_release, 0, GFP_ATOMIC); if (ret) goto err_cancel_ref;