xfs: unlock the AGI buffer when looping in xfs_dialloc
authorChristoph Hellwig <hch@infradead.org>
Tue, 7 Aug 2012 06:02:02 +0000 (02:02 -0400)
committerBen Myers <bpm@sgi.com>
Thu, 23 Aug 2012 19:48:32 +0000 (14:48 -0500)
commit761290309939743ddf97e2bd94c6da18c6436b79
tree9e6b41c6e053608379ffcb10c1a71056cc1cfcac
parent0b9e3f6d84ce619f697bb622d9165cccaa93d67c
xfs: unlock the AGI buffer when looping in xfs_dialloc

Also update some commens in the area to make the code easier to read.

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