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, 16 Aug 2012 21:23:59 +0000 (16:23 -0500)
commitc4982110ae93d7575503feb81d15e93c0c5f393c
treecec67f22d5f73e77370cad8b23a41ea7ecbb0e39
parent1ed845df60f3f02d4b7cd9fcad79ccb69c289f5c
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