]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commitd6d7b702a3a1ca50f7ca2bebaa79c80425156bac
tree58399f82a48ca2a02bea7bdadc14925858a8017a
parent58e20d8d344b0ee083febb18c2b021d2427e56ca
dlm: fix up memory allocation flags

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>
fs/dlm/lowcomms.c
fs/dlm/memory.c
fs/dlm/midcomms.c