summaryrefslogtreecommitdiffstats
path: root/fs/ceph/file.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2011-09-18 20:40:57 +0000
committerAlex Elder <aelder@sgi.com>2011-10-11 21:15:05 -0500
commit0937e0fd8be6f9c26844127d39d677bb752e8741 (patch)
treef05f9c8a7cb6459726a9f207025b495853b913e8 /fs/ceph/file.c
parentbaf41a52b9c62f9a825371806129ed12e2c1e2d8 (diff)
downloadop-kernel-dev-0937e0fd8be6f9c26844127d39d677bb752e8741.zip
op-kernel-dev-0937e0fd8be6f9c26844127d39d677bb752e8741.tar.gz
xfs: move firstblock and bmap freelist cursor into bmalloca structure
Rather than passing the firstblock and freelist structure around, embed it into the bmalloca structure and remove it from the function parameters. This also enables the minleft parameter to be set only once in xfs_bmapi_write(), and the freelist cursor directly queried in xfs_bmapi_allocate to clear it when the lowspace algorithm is activated. Signed-off-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/ceph/file.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud