git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
664dbd5
)
quota: Remove quota_on_meta callback
author
Jan Kara
<jack@suse.cz>
Wed, 8 Oct 2014 16:35:31 +0000
(18:35 +0200)
committer
Jan Kara
<jack@suse.cz>
Fri, 30 Jan 2015 11:51:10 +0000
(12:51 +0100)
There are no more users for quota_on_meta callback. Just remove it.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/quota.c
patch
|
blob
|
history
include/linux/quota.h
patch
|
blob
|
history
diff --git
a/fs/quota/quota.c
b/fs/quota/quota.c
index
ce78a70
..
d14a799
100644
(file)
--- a/
fs/quota/quota.c
+++ b/
fs/quota/quota.c
@@
-82,11
+82,8
@@
unsigned int qtype_enforce_flag(int type)
static int quota_quotaon(struct super_block *sb, int type, int cmd, qid_t id,
struct path *path)
{
- if (!sb->s_qcop->quota_on && !sb->s_qcop->quota_on_meta &&
- !sb->s_qcop->quota_enable)
+ if (!sb->s_qcop->quota_on && !sb->s_qcop->quota_enable)
return -ENOSYS;
- if (sb->s_qcop->quota_on_meta)
- return sb->s_qcop->quota_on_meta(sb, type, id);
if (sb->s_qcop->quota_enable)
return sb->s_qcop->quota_enable(sb, qtype_enforce_flag(type));
if (IS_ERR(path))
diff --cc
include/linux/quota.h
Simple merge