From: Tejun Heo Date: Fri, 10 Jan 2014 13:57:29 +0000 (-0500) Subject: scsi: use device_remove_file_self() instead of device_schedule_callback() X-Git-Tag: v3.14-rc1~151^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de1dee7820c44b1a5765265ed7ca8ee44f2367c1;p=pandora-kernel.git scsi: 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(). This makes "delete" behave synchronously. Signed-off-by: Tejun Heo Cc: "James E.J. Bottomley" Cc: linux-scsi@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed