diff options
author | Tejun Heo <tj@kernel.org> | 2014-01-10 08:57:29 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-10 17:13:59 -0500 |
commit | de1dee7820c44b1a5765265ed7ca8ee44f2367c1 (patch) | |
tree | 99ed8a8857de0b9f9c1062f389ac5c517e640470 /include/linux/sysfs.h | |
parent | 6716d289c437ad42dee455d241b29b71a816fbff (diff) |
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 <tj@kernel.org>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/sysfs.h')
0 files changed, 0 insertions, 0 deletions