projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba58148
)
quota: Allow Q_GETQUOTA for frozen filesystem
author
Jan Kara
<jack@suse.cz>
Mon, 25 Jan 2016 15:13:53 +0000
(16:13 +0100)
committer
Jan Kara
<jack@suse.cz>
Tue, 9 Feb 2016 12:05:23 +0000
(13:05 +0100)
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>
fs/quota/quota.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/quota/quota.c
b/fs/quota/quota.c
index a925f629a00a56abd6c002f9c789278aeaddfb66..8e297c92f7d4c18588c0e76ab0831d663f9268ad 100644
(file)
--- a/
fs/quota/quota.c
+++ b/
fs/quota/quota.c
@@
-768,6
+768,7
@@
static int quotactl_cmd_write(int cmd)
switch (cmd) {
case Q_GETFMT:
case Q_GETINFO:
+ case Q_GETQUOTA:
case Q_GETNEXTQUOTA:
case Q_SYNC:
case Q_XGETQSTAT: