Commit 7955118e authored by Jan Kara's avatar Jan Kara

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: default avatarJan Kara <jack@suse.cz>
parent ba58148b
...@@ -768,6 +768,7 @@ static int quotactl_cmd_write(int cmd) ...@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment