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:
36f90b0
)
quota: remove unused cmd argument from quota_quotaon()
author
Eric Sandeen
<sandeen@redhat.com>
Mon, 8 Feb 2016 00:21:24 +0000
(11:21 +1100)
committer
Dave Chinner
<david@fromorbit.com>
Mon, 8 Feb 2016 00:21:24 +0000
(11:21 +1100)
The cmd argument to quota_quotaon() via Q_QUOTAON quotactl
is not used, so remove it.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/quota/quota.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/quota/quota.c
b/fs/quota/quota.c
index 3746367098fda369120ccf0eab4ca0249ed64cb4..ea6667083b3e17e3440c94e2ea99e607f5cb6b17 100644
(file)
--- a/
fs/quota/quota.c
+++ b/
fs/quota/quota.c
@@
-79,7
+79,7
@@
unsigned int qtype_enforce_flag(int type)
return 0;
}
-static int quota_quotaon(struct super_block *sb, int type,
int cmd,
qid_t id,
+static int quota_quotaon(struct super_block *sb, int type, qid_t id,
struct path *path)
{
if (!sb->s_qcop->quota_on && !sb->s_qcop->quota_enable)
@@
-659,7
+659,7
@@
static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id,
switch (cmd) {
case Q_QUOTAON:
- return quota_quotaon(sb, type,
cmd,
id, path);
+ return quota_quotaon(sb, type, id, path);
case Q_QUOTAOFF:
return quota_quotaoff(sb, type);
case Q_GETFMT: