diff options
author | Tejun Heo <tj@kernel.org> | 2011-02-01 11:42:42 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-02-01 11:42:42 +0100 |
commit | 316873c958eee302952edcadb8dc72d6d3d19d3c (patch) | |
tree | 9d9194ca6df360f6df1cfd6de13ab6e1e36d6501 /fs/ocfs2/quota.h | |
parent | ext4: convert to alloc_workqueue() (diff) | |
download | linux-316873c958eee302952edcadb8dc72d6d3d19d3c.tar.xz linux-316873c958eee302952edcadb8dc72d6d3d19d3c.zip |
ocfs2: use system_wq instead of ocfs2_quota_wq
ocfs2_quota_wq is not depended upon during memory reclaim and, with
cmwq, there's no reason to use a dedicated workqueue. Drop
ocfs2_quota_wq and use system_wq instead. dqi_sync_work is already
sync canceled on quota disable and no further synchronization is
necessary.
This change makes ocfs2_quota_setup/shutdown() noops. Both functions
removed.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/quota.h')
-rw-r--r-- | fs/ocfs2/quota.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ocfs2/quota.h b/fs/ocfs2/quota.h index 196fcb52d95d..d5ab56cbe5c5 100644 --- a/fs/ocfs2/quota.h +++ b/fs/ocfs2/quota.h @@ -114,7 +114,4 @@ int ocfs2_local_write_dquot(struct dquot *dquot); extern const struct dquot_operations ocfs2_quota_operations; extern struct quota_format_type ocfs2_quota_format; -int ocfs2_quota_setup(void); -void ocfs2_quota_shutdown(void); - #endif /* _OCFS2_QUOTA_H */ |