This change removes the MNTK_SUSPENDABLE flag and instead tests the mount
point returned by VOP_GETWRITEMOUNT. This removes the need for
passthrough filesystems like nullfs and unionfs to inherit mount flags
from lower layers.
Details
Details
Verified that vn_start_write_locked() was or was not being called under the same conditions as before, using ufs, tmpfs, nullfs on tmpfs, and devfs.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I would possibly rename vn_suspendable_mp to vn_suspendable, but looks good enough to me as it is.
sys/fs/nullfs/null_vfsops.c | ||
---|---|---|
202 โ | (On Diff #6531) | This is weird reformatting. |
Comment Actions
I'll fix that in the commit, thanks.
sys/fs/nullfs/null_vfsops.c | ||
---|---|---|
202 โ | (On Diff #6531) | It's a bit easier to read when the RHS is on a single line, but I agree that it looks weird. I'll fix it before committing. |