Fix errors in !defined(QUOTA) && !defined(QUOTA2) case.
This commit is contained in:
parent
60d82a4ef2
commit
b7938d8f67
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ufs_vfsops.c,v 1.48 2012/01/29 07:16:54 dholland Exp $ */
|
||||
/* $NetBSD: ufs_vfsops.c,v 1.49 2012/01/29 08:49:01 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991, 1993, 1994
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ufs_vfsops.c,v 1.48 2012/01/29 07:16:54 dholland Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ufs_vfsops.c,v 1.49 2012/01/29 08:49:01 tsutsui Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#include "opt_ffs.h"
|
||||
|
@ -102,15 +102,13 @@ ufs_root(struct mount *mp, struct vnode **vpp)
|
|||
int
|
||||
ufs_quotactl(struct mount *mp, struct vfs_quotactl_args *args)
|
||||
{
|
||||
struct lwp *l = curlwp;
|
||||
|
||||
#if !defined(QUOTA) && !defined(QUOTA2)
|
||||
(void) mp;
|
||||
(void) cmddict;
|
||||
(void) dummy;
|
||||
(void) l;
|
||||
(void) args;
|
||||
return (EOPNOTSUPP);
|
||||
#else
|
||||
struct lwp *l = curlwp;
|
||||
int error;
|
||||
|
||||
/* Mark the mount busy, as we're passing it to kauth(9). */
|
||||
|
|
Loading…
Reference in New Issue