diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2011-07-25 13:59:46 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-07-25 14:53:52 -0400 |
commit | 5f00bcb38ef9a980a33c6dbdc0044964b05f22dd (patch) | |
tree | 3175fb9375aecb50bde1be0bf4fa8aa8155131d6 /net/rds/bind.c | |
parent | 34006cee28f7344f9557a4be3816c7891b1bbab1 (diff) | |
parent | b6844e8f64920cdee620157252169ba63afb0c89 (diff) |
Merge branch 'master' into devel and apply fixup from Stephen Rothwell:
vfs/nfs: fixup for nfs_open_context change
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/rds/bind.c')
-rw-r--r-- | net/rds/bind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rds/bind.c b/net/rds/bind.c index 2f6b3fcc79f8..637bde56c9db 100644 --- a/net/rds/bind.c +++ b/net/rds/bind.c | |||
@@ -35,6 +35,7 @@ | |||
35 | #include <linux/in.h> | 35 | #include <linux/in.h> |
36 | #include <linux/if_arp.h> | 36 | #include <linux/if_arp.h> |
37 | #include <linux/jhash.h> | 37 | #include <linux/jhash.h> |
38 | #include <linux/ratelimit.h> | ||
38 | #include "rds.h" | 39 | #include "rds.h" |
39 | 40 | ||
40 | #define BIND_HASH_SIZE 1024 | 41 | #define BIND_HASH_SIZE 1024 |
@@ -185,8 +186,7 @@ int rds_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) | |||
185 | if (!trans) { | 186 | if (!trans) { |
186 | ret = -EADDRNOTAVAIL; | 187 | ret = -EADDRNOTAVAIL; |
187 | rds_remove_bound(rs); | 188 | rds_remove_bound(rs); |
188 | if (printk_ratelimit()) | 189 | printk_ratelimited(KERN_INFO "RDS: rds_bind() could not find a transport, " |
189 | printk(KERN_INFO "RDS: rds_bind() could not find a transport, " | ||
190 | "load rds_tcp or rds_rdma?\n"); | 190 | "load rds_tcp or rds_rdma?\n"); |
191 | goto out; | 191 | goto out; |
192 | } | 192 | } |