[Linux-cluster] sock_alloc 2.6.10 && gfs
Patrick Caulfield
pcaulfie at redhat.com
Tue Jan 4 09:16:06 UTC 2005
On Fri, Dec 31, 2004 at 01:29:38PM +0100, Svetoslav Slavtchev wrote:
> Hi guys,
> it seems sock_alloc became static in 2.6.10
> and i'm not sure how exactly to fix gfs
> (
> cluster/dlm/lowcomms.c:454
> memset(&peeraddr, 0, sizeof(peeraddr));
> newsock = sock_alloc();
> if (!newsock)
> return -ENOMEM;
>
> )
>
> do you think it'll be enough just to revert the change ?
> (see attached diff )
As a quick hack that should work.
What /should/ be done is to change lowcomms to use sock_create_kern()
--
patrick
More information about the Linux-cluster
mailing list