VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: David Teigland <teigland@redhat.com> 2009-11-30 16:34:43 -0600 committer: David Teigland <teigland@redhat.com> 2009-11-30 16:34:43 -0600 commit: 573c24c4af6664ffcd9aa7ba617a35fde2b95534 parent: a8a8a669ea13d792296737505adc43ccacf3a648
Commit Summary:
dlm: always use GFP_NOFS
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/dlm/requestqueue.c b/fs/dlm/requestqueue.c
index 7a2307c08911..a44fa22890e1 100644
--- a/fs/dlm/requestqueue.c
+++ b/fs/dlm/requestqueue.c
@@ -35,7 +35,7 @@ void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid, struct dlm_message *ms)
 	struct rq_entry *e;
 	int length = ms->m_header.h_length - sizeof(struct dlm_message);
 
-	e = kmalloc(sizeof(struct rq_entry) + length, ls->ls_allocation);
+	e = kmalloc(sizeof(struct rq_entry) + length, GFP_NOFS);
 	if (!e) {
 		log_print("dlm_add_requestqueue: out of memory len %d", length);
 		return;