diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-05-24 16:50:22 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-07-14 13:06:03 +0200 |
commit | 459f79235d8faa0050180c7e0c7bb4b2b52cbdfd (patch) | |
tree | 97847b1b06ded6c136cdba73bc961a46a3e39a30 /drivers/md | |
parent | 2147ef204f57191e0fff6d5d3d1a0336afa6cfae (diff) | |
download | blackbird-op-linux-459f79235d8faa0050180c7e0c7bb4b2b52cbdfd.tar.gz blackbird-op-linux-459f79235d8faa0050180c7e0c7bb4b2b52cbdfd.zip |
firewire: clean up fw_card reference counting
This is a functionally equivalent replacement of the current reference
counting of struct fw_card instances. It only converts it to common
idioms as suggested by Kristian Høgsberg:
- struct kref replaces atomic_t as the counter.
- wait_for_completion is used to wait for all card users to complete.
BTW, it may make sense to count card->flush_timer and card->work as
card users too.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions