diff options
author | Dave Chinner <dchinner@redhat.com> | 2010-04-13 07:06:50 +0200 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-05-19 16:58:11 +0200 |
commit | 368e136174344c417bad6ff0380b7b3f574bf120 (patch) | |
tree | 1718f3e35b42adbaabf5a65062f2d3f5ecf1ac43 /fs/xfs/linux-2.6 | |
parent | xfs: convert the per-mount dquot list to use list heads (diff) | |
download | linux-368e136174344c417bad6ff0380b7b3f574bf120.tar.xz linux-368e136174344c417bad6ff0380b7b3f574bf120.zip |
xfs: remove duplicate code from dquot reclaim
The dquot shaker and the free-list reclaim code use exactly the same
algorithm but the code is duplicated and slightly different in each
case. Make the shaker code use the single dquot reclaim code to
remove the code duplication.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/linux-2.6')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_trace.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_trace.h b/fs/xfs/linux-2.6/xfs_trace.h index 33f7d2b7afeb..ce6a968a8f40 100644 --- a/fs/xfs/linux-2.6/xfs_trace.h +++ b/fs/xfs/linux-2.6/xfs_trace.h @@ -653,8 +653,6 @@ DEFINE_EVENT(xfs_dquot_class, name, \ TP_PROTO(struct xfs_dquot *dqp), \ TP_ARGS(dqp)) DEFINE_DQUOT_EVENT(xfs_dqadjust); -DEFINE_DQUOT_EVENT(xfs_dqshake_dirty); -DEFINE_DQUOT_EVENT(xfs_dqshake_unlink); DEFINE_DQUOT_EVENT(xfs_dqreclaim_want); DEFINE_DQUOT_EVENT(xfs_dqreclaim_dirty); DEFINE_DQUOT_EVENT(xfs_dqreclaim_unlink); |