diff options
author | Cheng Renquan <crquan@gmail.com> | 2009-04-02 18:55:27 (GMT) |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-04-02 18:55:27 (GMT) |
commit | 5642b8a61a15436231adf27b2b1bd96901b623dd (patch) | |
tree | 2108366dbec955f71bc49795e3cf894d4dcd991c /kernel | |
parent | 35bf659b008e83e725dcd30f542e38461dbb867c (diff) | |
download | linux-5642b8a61a15436231adf27b2b1bd96901b623dd.tar.xz |
dm target: use module refcount directly
The tt_internal's 'use' field is superfluous: the module's refcount can do
the work properly. An acceptable side-effect is that this increases the
reference counts reported by 'lsmod'.
Remove the superfluous test when removing a target module.
[Crash possible without this on SMP - agk]
Cc: stable@kernel.org
Signed-off-by: Cheng Renquan <crquan@gmail.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Reviewed-by: Alasdair G Kergon <agk@redhat.com>
Reviewed-by: Jonathan Brassow <jbrassow@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions