mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-05-04 22:34:16 +00:00
quota: Allow Q_GETQUOTA for frozen filesystem
quota_cmd_write() forgot to list Q_GETQUOTA among commands allowed for frozen filesystem. Thus Q_GETQUOTA quotactl would unnecessarily block on frozen filesystems. Fix the issue by properly listing Q_GETQUOTA. Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
parent
ba58148b6f
commit
7955118eaf
1 changed files with 1 additions and 0 deletions
|
@ -768,6 +768,7 @@ static int quotactl_cmd_write(int cmd)
|
||||||
switch (cmd) {
|
switch (cmd) {
|
||||||
case Q_GETFMT:
|
case Q_GETFMT:
|
||||||
case Q_GETINFO:
|
case Q_GETINFO:
|
||||||
|
case Q_GETQUOTA:
|
||||||
case Q_GETNEXTQUOTA:
|
case Q_GETNEXTQUOTA:
|
||||||
case Q_SYNC:
|
case Q_SYNC:
|
||||||
case Q_XGETQSTAT:
|
case Q_XGETQSTAT:
|
||||||
|
|
Loading…
Add table
Reference in a new issue