mirror of https://github.com/mkerrisk/man-pages
quotactl.2: Add EINVAL error of Q_XQUOTARM operation
Since kernel commit 3dd4d40b4208("xfs: Sanity check flags of Q_XQUOTARM call"), it has added flags check. If it is not usr,grp,prj quota type, it will report EINVAL. Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
8bdc484e43
commit
ef9e5be04f
|
@ -666,8 +666,10 @@ value containing flags (the same as in
|
|||
.I d_flags
|
||||
field of
|
||||
.I fs_disk_quota
|
||||
structure) which identify what types of quota should be removed
|
||||
(note that the quota type passed in the
|
||||
structure, check flags since Linux 5.5)
|
||||
.\" 3dd4d40b420846dd35869ccc8f8627feef2cff32
|
||||
which identify what types of quota
|
||||
should be removed(note that the quota type passed in the
|
||||
.I cmd
|
||||
argument is ignored, but should remain valid in order to pass preliminary
|
||||
quotactl syscall handler checks).
|
||||
|
@ -736,6 +738,12 @@ is
|
|||
.BR Q_QUOTAON ,
|
||||
but the specified quota file is corrupted.
|
||||
.TP
|
||||
.B EINVAL
|
||||
.I cmd
|
||||
is
|
||||
.BR Q_XQUOTARM ,
|
||||
but the addr does not point to valid quota types.
|
||||
.TP
|
||||
.B ENOENT
|
||||
The file specified by
|
||||
.I special
|
||||
|
|
Loading…
Reference in New Issue