]> Git Repo - linux.git/commit - fs/xfs/xfs_alloc.c
xfs: clean up the xfs_alloc_compute_aligned calling convention
authorChristoph Hellwig <[email protected]>
Fri, 4 Mar 2011 12:59:54 +0000 (12:59 +0000)
committerAlex Elder <[email protected]>
Wed, 9 Mar 2011 14:23:33 +0000 (08:23 -0600)
commit86fa8af69d8e90b7b40b8dab84d168527143ae20
treeed2b3b20570556a296c4be015d0e78a1fb527d66
parent9130090b5f04f7e7bc29b944e0b1ba494fff3f98
xfs: clean up the xfs_alloc_compute_aligned calling convention

Pass a xfs_alloc_arg structure to xfs_alloc_compute_aligned and derive
the alignment and minlen paramters from it.  This cleans up the existing
callers, and we'll need even more information from the xfs_alloc_arg
in subsequent patches.  Based on a patch from Dave Chinner.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Alex Elder <[email protected]>
fs/xfs/xfs_alloc.c
This page took 0.054721 seconds and 4 git commands to generate.