dlm: fix up memory allocation flags
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 12 Nov 2008 22:49:48 +0000 (16:49 -0600)
committerDavid Teigland <teigland@redhat.com>
Tue, 23 Dec 2008 16:15:40 +0000 (10:15 -0600)
Use ls_allocation for memory allocations, which a cluster fs sets to
GFP_NOFS.  Use GFP_NOFS for allocations when no lockspace struct is
available.  Taking dlm locks needs to avoid calling back into the
cluster fs because write-out can require taking dlm locks.

Cc: Christine Caulfield <ccaulfie@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>

No differences found