xfs: clean up xfs_alloc_ag_vextent_exact
commit9f9baab38dacd11fe6095a1e59f3783a305f7020
authorChristoph Hellwig <hch@infradead.org>
Fri, 10 Dec 2010 15:03:57 +0000 (10 15:03 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 16 Dec 2010 22:06:11 +0000 (16 16:06 -0600)
treeea906a3a4be52648b94c8902bd35322421305b30
parentecff71e677c6d469f525dcf31ada709d5858307c
xfs: clean up xfs_alloc_ag_vextent_exact

Use a goto label to consolidate all block not found cases, and add a
tracepoint for them.  Also clean up a few whitespace issues.

Based on an earlier patch from Dave Chinner.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_trace.h
fs/xfs/xfs_alloc.c