Tejun Heo
0b60f9ead5
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-02-07 15:42:41 -08:00
..
2013-08-22 12:20:02 +02:00
2012-09-26 15:45:15 +02:00
2013-10-24 17:17:02 +02:00
2014-01-12 10:37:17 +01:00
2013-10-24 17:16:56 +02:00
2010-05-19 08:36:48 +01:00
2012-07-20 11:15:04 +02:00
2012-07-20 11:15:04 +02:00
2011-05-19 16:55:26 +09:30
2013-04-17 14:07:31 +02:00
2014-02-07 15:42:41 -08:00
2012-07-20 11:15:04 +02:00
2012-10-09 14:18:10 +02:00
2013-08-30 08:57:15 +02:00
2013-02-14 15:55:16 +01:00
2012-10-09 09:47:31 +01:00
2014-01-22 14:02:15 +01:00
2014-01-13 16:50:21 +01:00
2012-07-20 11:15:04 +02:00
2013-12-16 14:38:00 +01:00
2012-07-20 11:15:04 +02:00
2013-08-14 17:14:53 +02:00
2012-07-20 11:15:04 +02:00
2014-01-15 14:48:01 -08:00
2013-11-15 14:08:41 +01:00
2012-07-20 11:15:04 +02:00
2013-10-24 17:16:53 +02:00
2012-07-20 11:15:04 +02:00
2011-05-10 17:13:43 +02:00
2013-10-24 17:16:50 +02:00
2013-06-26 21:10:26 +02:00
2013-01-08 10:57:09 +01:00
2013-11-15 14:08:42 +01:00
2012-07-20 11:15:04 +02:00
2013-04-26 09:07:05 +02:00
2012-09-26 15:45:14 +02:00
2012-03-28 18:30:02 +01:00
2012-07-20 11:15:04 +02:00
2013-06-26 21:10:25 +02:00
2013-10-24 17:17:04 +02:00
2013-05-15 13:09:09 +02:00
2013-02-28 09:37:09 +01:00
2013-11-13 20:21:46 +01:00
2013-08-22 12:20:06 +02:00
2013-08-22 12:20:04 +02:00
2012-07-20 11:15:04 +02:00
2013-06-26 21:10:02 +02:00
2013-10-24 17:17:05 +02:00
2013-09-04 17:19:13 +02:00
2012-07-20 11:15:04 +02:00
2012-11-30 17:47:21 +01:00
2011-12-13 09:26:45 +00:00
2013-10-11 07:39:14 +02:00
2013-12-17 21:26:19 -05:00
2011-12-27 11:27:12 +01:00
2012-07-20 11:15:04 +02:00
2012-05-24 10:10:05 +02:00
2013-09-11 15:58:52 -07:00
2014-01-17 13:12:01 +01:00
2012-10-09 09:47:31 +01:00
2011-07-24 10:48:21 +02:00
2010-06-09 11:12:36 +02:00
2012-09-26 15:45:02 +02:00
2012-07-20 11:15:04 +02:00
2013-02-14 15:55:22 +01:00
2013-10-24 17:16:57 +02:00
2013-07-29 09:03:09 +02:00
2012-09-28 14:31:03 +09:30
2013-09-28 12:46:21 +02:00
2012-07-20 11:15:04 +02:00
2012-05-23 17:06:50 +02:00
2013-11-20 09:04:55 +01:00
2012-11-30 15:40:47 +01:00
2013-10-24 17:17:16 +02:00
2012-11-30 17:47:23 +01:00
2013-10-24 17:17:17 +02:00
2013-08-22 12:20:03 +02:00
2013-12-16 14:37:54 +01:00
2013-10-31 09:53:58 +01:00
2013-12-16 14:38:01 +01:00
2013-06-26 21:10:04 +02:00
2013-10-15 13:47:57 +02:00
2013-11-04 13:51:47 +01:00
2013-10-24 17:16:57 +02:00
2014-01-16 16:40:13 +01:00
2012-07-20 11:15:04 +02:00
2012-09-26 15:45:02 +02:00
2012-07-20 11:15:04 +02:00
2010-10-25 16:10:15 +02:00
2012-10-09 09:47:31 +01:00
2014-01-24 09:40:59 +01:00
2012-09-26 15:44:57 +02:00
2013-08-22 12:20:04 +02:00
2013-11-15 14:08:40 +01:00
2012-05-24 10:10:10 +02:00
2012-07-20 11:15:04 +02:00
2013-02-03 18:16:14 -05:00
2013-12-11 19:05:21 +01:00
2013-12-18 17:35:18 +01:00
2012-08-08 07:32:55 -07:00
2013-09-28 12:46:29 +02:00
2012-09-26 15:44:50 +02:00
2013-10-24 17:17:11 +02:00
2013-04-26 09:07:05 +02:00
2012-09-26 15:45:12 +02:00
2012-10-09 09:47:31 +01:00
2013-11-13 20:21:47 +01:00
2013-10-31 09:52:48 +01:00
2013-08-22 12:20:09 +02:00
2013-08-22 12:20:09 +02:00
2012-11-23 11:14:31 +01:00
2012-10-09 09:47:31 +01:00
2013-10-24 17:16:57 +02:00
2013-03-03 22:55:19 -05:00
2012-07-20 11:15:04 +02:00
2013-11-25 09:15:39 +01:00
2012-11-30 17:47:28 +01:00
2013-08-14 17:14:53 +02:00
2012-07-20 11:15:08 +02:00