diff --git a/[refs] b/[refs] index e0703dcde62c..c5f86ccb63fa 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a506aedc51093544ff0f9610af6066d18cb6abbe +refs/heads/master: 144214537370b4f133a735446ebe86e90cfb2501 diff --git a/trunk/mm/backing-dev.c b/trunk/mm/backing-dev.c index 0e8ca0347707..f13e067e1467 100644 --- a/trunk/mm/backing-dev.c +++ b/trunk/mm/backing-dev.c @@ -227,6 +227,9 @@ static struct device_attribute bdi_dev_attrs[] = { static __init int bdi_class_init(void) { bdi_class = class_create(THIS_MODULE, "bdi"); + if (IS_ERR(bdi_class)) + return PTR_ERR(bdi_class); + bdi_class->dev_attrs = bdi_dev_attrs; bdi_debug_init(); return 0;