quota: Drop dquot_enable()
authorJan Kara <jack@suse.cz>
Fri, 1 Nov 2019 17:57:56 +0000 (18:57 +0100)
committerJan Kara <jack@suse.cz>
Mon, 4 Nov 2019 08:58:06 +0000 (09:58 +0100)
commit069a9166369773627e51c5249cd7f9169aecd7fa
treeaf91a9c16851c7a573597b0b69fe9bd16b0aa07b
parent7212b95e61516671672380c6c9d6d80f4f306198
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>
fs/quota/dquot.c
include/linux/quotaops.h