On Wed, Jul 08, 2015 at 02:27:46PM +0200, Michal Hocko wrote: > The only user is cgwb_bdi_init and that one depends on > CONFIG_CGROUP_WRITEBACK which in turn depends on CONFIG_MEMCG > so it doesn't make much sense to definte an empty stub for > !CONFIG_MEMCG. Moreover ERR_PTR(-EINVAL) is ugly and would lead > to runtime crashes if used in unguarded code paths. Better fail > during compilation. > > Signed-off-by: Michal Hocko <mho...@kernel.org>
Reviewed-by: Vladimir Davydov <vdavy...@parallels.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/