diff options
author | Tejun Heo <tj@kernel.org> | 2014-02-03 14:03:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 15:42:41 -0800 |
commit | ac0ece9174aca9aa895ce0accc54f1f8ff12d117 (patch) | |
tree | 82b9f44feda06f9223406989a5472b66213e164a /fs/sysfs | |
parent | bc6caf02cccedd30c9458e26dfdd8118af574ae5 (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 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions