| 467 | } |
| 468 | |
| 469 | void |
| 470 | vfs_rel(struct mount *mp) |
| 471 | { |
| 472 | struct mount_pcpu *mpcpu; |
| 473 | |
| 474 | CTR2(KTR_VFS, "%s: mp %p", __func__, mp); |
| 475 | if (vfs_op_thread_enter(mp, mpcpu)) { |
| 476 | vfs_mp_count_sub_pcpu(mpcpu, ref, 1); |
| 477 | vfs_op_thread_exit(mp, mpcpu); |
| 478 | return; |
| 479 | } |
| 480 | |
| 481 | MNT_ILOCK(mp); |
| 482 | MNT_REL(mp); |
| 483 | MNT_IUNLOCK(mp); |
| 484 | } |
| 485 | |
| 486 | /* |
| 487 | * Allocate and initialize the mount point struct. |
no outgoing calls
no test coverage detected