Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 198281
b: refs/heads/master
c: ef7ffe8
h: refs/heads/master
i:
  198279: 04935ab
v: v3
  • Loading branch information
Alex Riesen authored and Linus Torvalds committed May 25, 2010
1 parent 1f7e93d commit 73e9ad6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 08a82c6872ac1d37cb993a52f1b35f97f48295bd
refs/heads/master: ef7ffe8f06895312aeb08a5f8a1d4c90e34335ea
5 changes: 1 addition & 4 deletions trunk/net/sunrpc/xprt.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ EXPORT_SYMBOL_GPL(xprt_unregister_transport);
int xprt_load_transport(const char *transport_name)
{
struct xprt_class *t;
char module_name[sizeof t->name + 5];
int result;

result = 0;
Expand All @@ -178,9 +177,7 @@ int xprt_load_transport(const char *transport_name)
}
}
spin_unlock(&xprt_list_lock);
strcpy(module_name, "xprt");
strncat(module_name, transport_name, sizeof t->name);
result = request_module(module_name);
result = request_module("xprt%s", transport_name);
out:
return result;
}
Expand Down

0 comments on commit 73e9ad6

Please sign in to comment.