commit | 0cc6eee130b0c062feec8446d9cecdb17d2cfad3 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Sat Jul 18 18:14:53 2009 -0400 |
committer | Felix Blyakher <felixb@sgi.com> | Wed Aug 12 01:06:51 2009 -0500 |
tree | 488cbdb1fb8623285c4fb7c3a913516d7b7905d2 | |
parent | c8a4051c3731b6db224482218cfd535ab9393ff8 [diff] |
xfs: avoid memory allocation under m_peraglock in growfs code Allocate the memory for the larger m_perag array before taking the per-AG lock as the per-AG lock can be taken under the i_lock which can be taken from reclaim context. Reported by the new reclaim context tracing in lockdep. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Felix Blyakher <felixb@sgi.com> Signed-off-by: Felix Blyakher <felixb@sgi.com>