]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[XFS] Make xfs_alloc_compute_aligned() void.
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:21:32 +0000 (12:21 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:58:36 +0000 (11:58 +1000)
commit12375c82375ec39ec948a3ad62e5e77533515e83
tree0122f66735d75583dcb6267be96175271a1e81d3
parentf4586e40613a9f8bb9f7f9c8a796062a9ab1614c
[XFS] Make xfs_alloc_compute_aligned() void.

xfs_alloc_compute_aligned() returns a value based on a comparison of the
computed extent length and the minimum length allowed. This is only used
by some callers - the other four return parameters are used more often.
Hence move the comparison to the code that actually needs to do it and
make xfs_alloc_compute_aligned() a void function.

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

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