]> git.baikalelectronics.ru Git - kernel.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)
commit3ebac53a6adff1708afa8d67aac6a4bab1ddc83e
tree4c8594c056057afd26bb5af1ee41dcd11c4d4dfc
parent6dd2b5c4576a813ae920e772049da186f4172ba8
[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