summaryrefslogtreecommitdiff
path: root/fs/ocfs2/quota.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2011-02-01 11:42:42 +0100
committerTejun Heo <tj@kernel.org>2011-02-01 11:42:42 +0100
commit316873c958eee302952edcadb8dc72d6d3d19d3c (patch)
tree9d9194ca6df360f6df1cfd6de13ab6e1e36d6501 /fs/ocfs2/quota.h
parentfd89d5f2030ac83324330bfd0bc73abf1beadaa6 (diff)
downloadlinux-3.10-316873c958eee302952edcadb8dc72d6d3d19d3c.tar.gz
linux-3.10-316873c958eee302952edcadb8dc72d6d3d19d3c.tar.bz2
linux-3.10-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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ocfs2/quota.h b/fs/ocfs2/quota.h
index 196fcb52d95..d5ab56cbe5c 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 */