ocfs2/dlm: Move kmalloc() outside the spinlock
authorSunil Mushran <sunil.mushran@oracle.com>
Mon, 21 Feb 2011 22:25:25 +0000 (14:25 -0800)
committerJoel Becker <jlbec@evilplan.org>
Tue, 22 Feb 2011 09:35:30 +0000 (01:35 -0800)
commit770c4d81e0d2ca45516ddc9ae0a69565790b5533
tree8a7fed6cf0b3870efacfbbaeb47929edd438494b
parent1936a267f1b5a32d4a846608fdcce82ca0f6ac8e
ocfs2/dlm: Move kmalloc() outside the spinlock

In dlm_query_region_handler(), move the kmalloc outside the spinlock.
This allows us to use GFP_KERNEL instead of GFP_ATOMIC.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
fs/ocfs2/dlm/dlmdomain.c