summaryrefslogtreecommitdiff
path: root/include/linux/quotaops.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2019-11-01 20:57:56 +0300
committerJan Kara <jack@suse.cz>2019-11-04 11:58:06 +0300
commit069a9166369773627e51c5249cd7f9169aecd7fa (patch)
treeaf91a9c16851c7a573597b0b69fe9bd16b0aa07b /include/linux/quotaops.h
parent7212b95e61516671672380c6c9d6d80f4f306198 (diff)
downloadlinux-069a9166369773627e51c5249cd7f9169aecd7fa.tar.xz
quota: Drop dquot_enable()
Now dquot_enable() has only two internal callers and both of them just need to update quota flags and don't need most of checks. Just drop dquot_enable() and fold necessary functionality into the two calling places. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/quotaops.h')
-rw-r--r--include/linux/quotaops.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h
index 0ce9da5a1a93..6b8ebc8d715e 100644
--- a/include/linux/quotaops.h
+++ b/include/linux/quotaops.h
@@ -87,8 +87,6 @@ int dquot_mark_dquot_dirty(struct dquot *dquot);
int dquot_file_open(struct inode *inode, struct file *file);
-int dquot_enable(struct inode *inode, int type, int format_id,
- unsigned int flags);
int dquot_load_quota_sb(struct super_block *sb, int type, int format_id,
unsigned int flags);
int dquot_load_quota_inode(struct inode *inode, int type, int format_id,