]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[XFS] Clean up xfs_alloc_search_busy() return values.
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:21:25 +0000 (12:21 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:58:27 +0000 (11:58 +1000)
commitf4586e40613a9f8bb9f7f9c8a796062a9ab1614c
tree4c8594c056057afd26bb5af1ee41dcd11c4d4dfc
parente5720eec0548c08943d759e39db0388d8fe59287
[XFS] Clean up xfs_alloc_search_busy() return values.

xfs_alloc_search_busy() returns an index into the busy array if the extent
was found in the array. This is never checked, and the
xfs_alloc_search_busy() does a log force to prevent reuse of the extent
before the free transaction hits the disk. Hence the return value is
useless. Declare the function void and remove the slot number from the
tracing as well.

SGI-PV: 980084
SGI-Modid: xfs-linux-melb:xfs-kern:30796a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_alloc.c