quota: Split ->set_xstate callback into two
authorJan Kara <jack@suse.cz>
Wed, 8 Oct 2014 13:56:21 +0000 (15:56 +0200)
committerJan Kara <jack@suse.cz>
Fri, 30 Jan 2015 11:49:40 +0000 (12:49 +0100)
Split ->set_xstate callback into two callbacks - one for turning quotas
on (->quota_enable) and one for turning quotas off (->quota_disable). That
way we don't have to pass quotactl command into the callback which seems
cleaner.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/quota.c
fs/xfs/xfs_quotaops.c
include/linux/quota.h

Simple merge
Simple merge
Simple merge