Q_XQUOTAOFF(2const)

Q_XQUOTAOFF2const

Turn off quotas for an xfs filesystem

Usage

#include <xfs/xqm.h>      /* See quotactl(2) */
#include <sys/quota.h>

int quotactl(QCMD(Q_XQUOTAOFF, type), const char *_Nullable special, 0, caddr_t addr);

#include <xfs/xqm.h> /* See quotactl_fd(2) */ #include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h>

int syscall(SYS_quotactl_fd, int fd, QCMD(Q_XQUOTAOFF, type), 0, unsigned int *addr);

Library

Standard C library (libc, -lc)

Overview

Turn off quotas for an XFS filesystem.

As with Q_XQUOTAON(2const), XFS filesystems expect a pointer to an unsigned int that specifies whether quota accounting and/or limit enforcement need to be turned off (using the same flags as for Q_XQUOTAON(2const)).

This operation requires privilege (CAP_SYS_ADMIN).

Return value

See quotactl(2).

Errors

See quotactl(2).

Standards

Linux.

History

Linux.

From man-pages 6.19-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.