aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/smbfs
diff options
context:
space:
mode:
authorJason A. Harmening <jah@FreeBSD.org>2021-05-30 00:46:46 +0000
committerJason A. Harmening <jah@FreeBSD.org>2021-05-30 00:48:02 +0000
commit271fcf1c28efd22342212b1ccaa3dba4fc059627 (patch)
treee1fa6c2039bc9970ddf36f58aeb16002e2443345 /sys/fs/smbfs
parent331a7601c9c21c1e55c57c5338e7affced9c7b7c (diff)
downloadsrc-271fcf1c28efd22342212b1ccaa3dba4fc059627.tar.gz
src-271fcf1c28efd22342212b1ccaa3dba4fc059627.zip
Revert commits 6d3e78ad6c11 and 54256e7954d7
Parts of libprocstat like to pretend they're kernel components for the sake of including mount.h, and including sys/types.h in the _KERNEL case doesn't fix the build for some reason. Revert both the VFS_QUOTACTL() change and the follow-up "fix" for now.
Diffstat (limited to 'sys/fs/smbfs')
-rw-r--r--sys/fs/smbfs/smbfs_vfsops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c
index a1ae565c6341..d19816a7869c 100644
--- a/sys/fs/smbfs/smbfs_vfsops.c
+++ b/sys/fs/smbfs/smbfs_vfsops.c
@@ -352,12 +352,11 @@ out:
*/
/* ARGSUSED */
static int
-smbfs_quotactl(mp, cmd, uid, arg, mp_busy)
+smbfs_quotactl(mp, cmd, uid, arg)
struct mount *mp;
int cmd;
uid_t uid;
void *arg;
- bool *mp_busy;
{
SMBVDEBUG("return EOPNOTSUPP\n");
return EOPNOTSUPP;