VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Steven Whitehouse <swhiteho@redhat.com> 2008-11-12 16:49:48 -0600 committer: David Teigland <teigland@redhat.com> 2008-12-23 10:15:40 -0600 commit: d6d7b702a3a1ca50f7ca2bebaa79c80425156bac parent: 58e20d8d344b0ee083febb18c2b021d2427e56ca
Commit Summary:
dlm: fix up memory allocation flags
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index 3962262f991a..1e720316300b 100644
--- a/fs/dlm/lowcomms.c
+++ b/fs/dlm/lowcomms.c
@@ -295,6 +295,7 @@ static int add_sock(struct socket *sock, struct connection *con)
 	con->sock->sk->sk_write_space = lowcomms_write_space;
 	con->sock->sk->sk_state_change = lowcomms_state_change;
 	con->sock->sk->sk_user_data = con;
+	con->sock->sk->sk_allocation = GFP_NOFS;
 	return 0;
 }