]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
VFS_QUOTACTL(9): allow implementation to indicate busy state changes
authorJason A. Harmening <jah@FreeBSD.org>
Tue, 11 May 2021 15:54:58 +0000 (08:54 -0700)
committerJason A. Harmening <jah@FreeBSD.org>
Sat, 29 May 2021 21:05:39 +0000 (14:05 -0700)
commit6d3e78ad6c11849ad3d36feeb10c412c93b56073
treea9449581c777f18a55907e1dcd5cdc33e3c293b7
parent811e645d286d0b97c02d1b66a59a76c327d46c35
VFS_QUOTACTL(9): allow implementation to indicate busy state changes

Instead of requiring all implementations of vfs_quotactl to unbusy
the mount for Q_QUOTAON and Q_QUOTAOFF, add an "mp_busy" in/out param
to VFS_QUOTACTL(9).  The implementation may then indicate to the caller
whether it needed to unbusy the mount.

Reviewed By: kib, markj
Differential Revision: https://reviews.freebsd.org/D30218
13 files changed:
share/man/man9/VFS_QUOTACTL.9
sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c
sys/fs/nullfs/null_vfsops.c
sys/fs/smbfs/smbfs_vfsops.c
sys/fs/unionfs/union_vfsops.c
sys/kern/vfs_default.c
sys/kern/vfs_init.c
sys/kern/vfs_syscalls.c
sys/sys/mount.h
sys/sys/param.h
sys/ufs/ufs/quota.h
sys/ufs/ufs/ufs_quota.c
sys/ufs/ufs/ufs_vfsops.c