Skip to content

Commit 7955118

Browse files
committed
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>
1 parent ba58148 commit 7955118

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/quota/quota.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,7 @@ static int quotactl_cmd_write(int cmd)
768768
switch (cmd) {
769769
case Q_GETFMT:
770770
case Q_GETINFO:
771+
case Q_GETQUOTA:
771772
case Q_GETNEXTQUOTA:
772773
case Q_SYNC:
773774
case Q_XGETQSTAT:

0 commit comments

Comments
 (0)