freebsd-skq/sys/fs/unionfs
Mateusz Guzik 4a20fe31c3 unionfs: fix up VOP_UNLOCK use after flags stopped being supported
For the most part the code was passing the LK_RELEASE flag.
The 2 cases which did not use the VOP_UNLOCK_FLAGS macro.

This fixes a panic when stacking unionfs on top of e.g., tmpfs when
debug is enabled.

Note there are latent bugs which prevent unionfs from working with debug
regardless of this change.

PR:		243064
Reported by:	Mason Loring Bliss
2020-01-03 22:12:25 +00:00
..
union_subr.c unionfs: fix up VOP_UNLOCK use after flags stopped being supported 2020-01-03 22:12:25 +00:00
union_vfsops.c unionfs: fix up VOP_UNLOCK use after flags stopped being supported 2020-01-03 22:12:25 +00:00
union_vnops.c unionfs: fix up VOP_UNLOCK use after flags stopped being supported 2020-01-03 22:12:25 +00:00
union.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00