From: François Tigeot Date: Sat, 14 Jul 2012 20:52:43 +0000 (+0200) Subject: VFS quota: replace MNT_ACCOUNTING by MNT_QUOTA X-Git-Tag: v3.2.0~580 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/9b2725008ee9951123a0ecc36dd7a7fc1fb1c5b4 VFS quota: replace MNT_ACCOUNTING by MNT_QUOTA Getting back a bit of MNT_xxx flag space --- diff --git a/sbin/vquota/vquota.c b/sbin/vquota/vquota.c index ec4d39459d..d86bf34388 100644 --- a/sbin/vquota/vquota.c +++ b/sbin/vquota/vquota.c @@ -416,8 +416,8 @@ get_fslist(void) /* iterate mounted filesystems */ for (i=0; imnt_op->vfs_account = vfs_stdaccount; - /* mark this filesystem as having accounting enabled */ - mp->mnt_flag |= MNT_ACCOUNTING; + /* mark this filesystem quota enabled */ + mp->mnt_flag |= MNT_QUOTA; if (bootverbose) kprintf("vfs accounting enabled for %s\n", mp->mnt_stat.f_mntonname); diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 096e050491..27e28cf9df 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -293,7 +293,6 @@ struct mount { #define MNT_QUOTA 0x00002000 /* quotas are enabled on filesystem */ #define MNT_ROOTFS 0x00004000 /* identifies the root filesystem */ #define MNT_USER 0x00008000 /* mounted by a user */ -#define MNT_ACCOUNTING 0x00020000 /* accounting is enabled on filesystem */ #define MNT_IGNORE 0x00800000 /* do not show entry in df */ /* @@ -309,7 +308,7 @@ struct mount { MNT_ROOTFS | MNT_NOATIME | MNT_NOCLUSTERR| \ MNT_NOCLUSTERW | MNT_SUIDDIR | MNT_SOFTDEP | \ MNT_IGNORE | MNT_NOSYMFOLLOW | MNT_EXPUBLIC| \ - MNT_ACCOUNTING | MNT_TRIM) + MNT_TRIM) /* * External filesystem command modifier flags. * Unmount can use the MNT_FORCE flag.