xfs: remove the alloc_done argument to xfs_dialloc
authorChristoph Hellwig <hch@infradead.org>
Wed, 4 Jul 2012 14:54:47 +0000 (10:54 -0400)
committerBen Myers <bpm@sgi.com>
Sun, 29 Jul 2012 21:00:31 +0000 (16:00 -0500)
commit08358906ed78f6ab4d3ff8e4fd1b87b9a4aea645
tree47884ad2cba2ede418c6f4716c778c9d6ec88e81
parentf2ecc5e453134a13c3b2b0f2cac52ab2d5c540d7
xfs: remove the alloc_done argument to xfs_dialloc

We can simplify check the IO_agbp pointer for being non-NULL instead of
passing another argument through two layers of function calls.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_ialloc.c
fs/xfs/xfs_ialloc.h
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_utils.c