]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove duplicate code from dquot reclaim
authorDave Chinner <dchinner@redhat.com>
Tue, 13 Apr 2010 05:06:50 +0000 (15:06 +1000)
committerAlex Elder <aelder@sgi.com>
Wed, 19 May 2010 14:58:11 +0000 (09:58 -0500)
commit163782a784f4723f303810c834e9cc3c2bd79109
tree1718f3e35b42adbaabf5a65062f2d3f5ecf1ac43
parentc4d62503b81de9ad552495519cbc5a8a01d12007
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>
fs/xfs/linux-2.6/xfs_trace.h
fs/xfs/quota/xfs_qm.c