]> git.baikalelectronics.ru Git - kernel.git/commit
dlm: fix socket fd translation
authorDavid Teigland <teigland@redhat.com>
Thu, 24 Sep 2009 20:58:23 +0000 (15:58 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 30 Sep 2009 17:19:44 +0000 (12:19 -0500)
commit5d439880ae319f1a4d2022b3763e5dc9b0bc5a35
tree99cb1eb3cb5ac2084077fae9eec7e1f3e9d2cdc5
parent5816c83d358fdf4d90d082079454038c0aff3cf6
dlm: fix socket fd translation

The code to set up sctp sockets was not using the sockfd_lookup()
and sockfd_put() routines to translate an fd to a socket.  The
direct fget and fput calls were resulting in error messages from
alloc_fd().

Also clean up two log messages and remove a third, related to
setting up sctp associations.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c