diff options
Diffstat (limited to 'quotaio_v2.c')
-rw-r--r-- | quotaio_v2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quotaio_v2.c b/quotaio_v2.c index 9fc7e43..095c39c 100644 --- a/quotaio_v2.c +++ b/quotaio_v2.c @@ -692,6 +692,10 @@ static int v2_commit_dquot(struct dquot *dquot, int flags) cmd = Q_V2_SETUSE; else if (flags == COMMIT_LIMITS) cmd = Q_V2_SETQLIM; + else if (flags & COMMIT_TIMES) { + errno = EINVAL; + return -1; + } else cmd = Q_V2_SETQUOTA; v2_util2kerndqblk(&kdqblk, &dquot->dq_dqb); |