commit | de1dee7820c44b1a5765265ed7ca8ee44f2367c1 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Fri Jan 10 08:57:29 2014 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jan 10 14:13:59 2014 -0800 |
tree | 99ed8a8857de0b9f9c1062f389ac5c517e640470 | |
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>