diff options
author | wangweidong <wangweidong1@huawei.com> | 2014-01-21 02:44:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-21 21:41:36 -0500 |
commit | 048ed4b6266144fdee55089c9eef55b0c1d42ba1 (patch) | |
tree | bb02f9c12fc03990de37fb10683392fdf877a5bc /fs/dlm | |
parent | 1b0de194f11450d1c1e164bf2826fe80a38e1f62 (diff) |
sctp: remove macros sctp_{lock|release}_sock
Redefined {lock|release}_sock to sctp_{lock|release}_sock for user space friendly
code which we haven't use in years, so removing them.
Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/lowcomms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index d90909ec6aa6..ce53dffd2366 100644 --- a/fs/dlm/lowcomms.c +++ b/fs/dlm/lowcomms.c | |||
@@ -713,11 +713,11 @@ static void process_sctp_notification(struct connection *con, | |||
713 | return; | 713 | return; |
714 | 714 | ||
715 | /* Peel off a new sock */ | 715 | /* Peel off a new sock */ |
716 | sctp_lock_sock(con->sock->sk); | 716 | lock_sock(con->sock->sk); |
717 | ret = sctp_do_peeloff(con->sock->sk, | 717 | ret = sctp_do_peeloff(con->sock->sk, |
718 | sn->sn_assoc_change.sac_assoc_id, | 718 | sn->sn_assoc_change.sac_assoc_id, |
719 | &new_con->sock); | 719 | &new_con->sock); |
720 | sctp_release_sock(con->sock->sk); | 720 | release_sock(con->sock->sk); |
721 | if (ret < 0) { | 721 | if (ret < 0) { |
722 | log_print("Can't peel off a socket for " | 722 | log_print("Can't peel off a socket for " |
723 | "connection %d to node %d: err=%d", | 723 | "connection %d to node %d: err=%d", |