| 675 | } |
| 676 | |
| 677 | int |
| 678 | rman_deactivate_resource(struct resource *r) |
| 679 | { |
| 680 | struct rman *rm; |
| 681 | |
| 682 | rm = r->__r_i->r_rm; |
| 683 | mtx_lock(rm->rm_mtx); |
| 684 | r->__r_i->r_flags &= ~RF_ACTIVE; |
| 685 | mtx_unlock(rm->rm_mtx); |
| 686 | return 0; |
| 687 | } |
| 688 | |
| 689 | static int |
| 690 | int_rman_release_resource(struct rman *rm, struct resource_i *r) |
no test coverage detected