Tejun Heo bdbb0a1376 s390: use device_remove_file_self() instead of device_schedule_callback()
driver-core now supports synchrnous self-deletion of attributes and
the asynchrnous removal mechanism is scheduled for removal.  Use it
instead of device_schedule_callback().

* Conversions in arch/s390/pci/pci_sysfs.c and
  drivers/s390/block/dcssblk.c are straightforward.

* drivers/s390/cio/ccwgroup.c is a bit more tricky because
  ccwgroup_notifier() was (ab)using device_schedule_callback() to
  purely obtain a process context to kick off ungroup operation which
  may block from a notifier callback.

  Rename ccwgroup_ungroup_callback() to ccwgroup_ungroup() and make it
  take ccwgroup_device * instead.  The new function is now called
  directly from ccwgroup_ungroup_store().

  ccwgroup_notifier() chain is updated to explicitly bounce through
  ccwgroup_device->ungroup_work.  This also removes possible failure
  from memory pressure.

Only compile-tested.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: linux390@de.ibm.com
Cc: linux-s390@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-01-10 14:13:59 -08:00
..
2013-12-06 08:30:18 -08:00
2013-11-19 15:53:02 -05:00
2013-12-08 18:47:25 -08:00
2013-12-18 12:53:43 -08:00
2013-12-24 09:43:21 -08:00
2013-12-24 09:43:21 -08:00
2013-12-12 11:05:19 -08:00
2013-12-24 09:43:21 -08:00
2013-12-24 09:43:21 -08:00
2013-11-15 14:05:15 -08:00
2013-12-10 13:12:28 +01:00
2013-11-18 15:35:09 -08:00
2013-12-10 08:48:15 +01:00
2013-12-20 09:34:54 -08:00