diff options
| author | 2009-07-18 18:14:53 -0400 | |
|---|---|---|
| committer | 2009-08-11 10:21:13 -0500 | |
| commit | efe1f30e8f05a3836dfcf6302774707b3b47193f (patch) | |
| tree | 7935e5790585b679207391c78f272685e2b475b9 /lib/debugobjects.c | |
| parent | xfs: bump up nr_to_write in xfs_vm_writepage (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>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
