summaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_debug.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2009-07-19 00:14:53 +0200
committerFelix Blyakher <felixb@sgi.com>2009-08-12 08:06:51 +0200
commit0cc6eee130b0c062feec8446d9cecdb17d2cfad3 (patch)
tree488cbdb1fb8623285c4fb7c3a913516d7b7905d2 /fs/jfs/jfs_debug.c
parentxfs: bump up nr_to_write in xfs_vm_writepage (diff)
downloadlinux-0cc6eee130b0c062feec8446d9cecdb17d2cfad3.tar.xz
linux-0cc6eee130b0c062feec8446d9cecdb17d2cfad3.zip
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 'fs/jfs/jfs_debug.c')
0 files changed, 0 insertions, 0 deletions