|
@@ -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))
|