mirror of
https://github.com/opnsense/src.git
synced 2026-03-26 04:33:12 -04:00
same directory pair.
If we do:
mount -t union a b
mount -t union a b
then, (1) namei tries to lock fs which has been already locked by
first union mount and (2) union_root() tries to lock locked fs. To
avoid first deadlock condition, unlock vnode if lowerrootvp is union
node, and to avoid second case, union_mount returns EDEADLK when multi
union mount is detected.
|
||
|---|---|---|
| .. | ||
| union.h | ||
| union_subr.c | ||
| union_vfsops.c | ||
| union_vnops.c | ||