* Add a reference to the g_consumer for an inflight transaction. */
| 2760 | * Add a reference to the g_consumer for an inflight transaction. |
| 2761 | */ |
| 2762 | static void |
| 2763 | swapgeom_acquire(struct g_consumer *cp) |
| 2764 | { |
| 2765 | |
| 2766 | mtx_assert(&sw_dev_mtx, MA_OWNED); |
| 2767 | cp->index++; |
| 2768 | } |
| 2769 | |
| 2770 | /* |
| 2771 | * Remove a reference from the g_consumer. Post a close event if all |
no test coverage detected