| Main index | Section 9 | Options |
#include <sys/param.h>
#include <sys/vnode.h>
The indirect mount reference count, maintained as the count of the vnodes owned by it, is incremented for each vnode added to the mount, and that reference is decremented by vgone(9).
The mount's interlock is held while the vnode is inserted. The vnode must be exclusively locked.
On failure, insmntque() resets vnode' operation vector to the vector of deadfs(9), clears v_data, and then calls vgone(9) and vput(9). If more elaborated cleanup after insmntque() failure is needed, the insmntque1() function may be used instead. It does not do any cleanup following a failure, leaving all the work to the caller. In particular, the operation vector v_op and v_data fields of the vnode are kept intact.
| INSMNTQUE (9) | January 29, 2022 |
| Main index | Section 9 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | The wonderful thing about standards is that there are so many of them to choose from. | ” |
| — Grace Murray Hopper | ||