ufs_quotactl(): consume the arguments even if QUOTAS is not defined.
This commit is contained in:
parent
4d595fd7b1
commit
25433eb1b5
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ufs_vfsops.c,v 1.29 2006/10/12 01:32:52 christos Exp $ */
|
/* $NetBSD: ufs_vfsops.c,v 1.30 2006/10/12 04:24:40 thorpej Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1991, 1993, 1994
|
* Copyright (c) 1991, 1993, 1994
|
||||||
@ -37,7 +37,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: ufs_vfsops.c,v 1.29 2006/10/12 01:32:52 christos Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: ufs_vfsops.c,v 1.30 2006/10/12 04:24:40 thorpej Exp $");
|
||||||
|
|
||||||
#if defined(_KERNEL_OPT)
|
#if defined(_KERNEL_OPT)
|
||||||
#include "opt_ffs.h"
|
#include "opt_ffs.h"
|
||||||
@ -104,6 +104,11 @@ ufs_quotactl(struct mount *mp, int cmds, uid_t uid, void *arg, struct lwp *l)
|
|||||||
{
|
{
|
||||||
|
|
||||||
#ifndef QUOTA
|
#ifndef QUOTA
|
||||||
|
(void) mp;
|
||||||
|
(void) cmds;
|
||||||
|
(void) uid;
|
||||||
|
(void) arg;
|
||||||
|
(void) l;
|
||||||
return (EOPNOTSUPP);
|
return (EOPNOTSUPP);
|
||||||
#else
|
#else
|
||||||
int cmd, type, error;
|
int cmd, type, error;
|
||||||
|
Loading…
Reference in New Issue
Block a user