partitions: fix broken uevent_suppress conversion
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 11 Jun 2009 13:14:40 +0000 (15:14 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 12 Jul 2009 20:02:09 +0000 (13:02 -0700)
commitf8c73c790c588fd70fda1632c8927a87b3d31dcd
treec50472e07f8e941cc6c31c5cb6532d6bb2f9cec3
parenteb8d3c604fe7496323efb9a858bef84c489ca584
partitions: fix broken uevent_suppress conversion

git commit f67f129e "Driver core: implement uevent suppress in kobject"
contains this chunk for fs/partitions/check.c:

  /* suppress uevent if the disk supresses it */
- if (!ddev->uevent_suppress)
+ if (!dev_get_uevent_suppress(pdev))
  kobject_uevent(&pdev->kobj, KOBJ_ADD);

However that should have been

- if (!ddev->uevent_suppress)
+ if (!dev_get_uevent_suppress(ddev))

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Ming Lei <tom.leiming@gmail.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/partitions/check.c