projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VFS: delay the dentry name generation on sockets and pipes
[powerpc.git]
/
fs
/
lockd
/
host.c
diff --git
a/fs/lockd/host.c
b/fs/lockd/host.c
index
3d4610c
..
ad21c07
100644
(file)
--- a/
fs/lockd/host.c
+++ b/
fs/lockd/host.c
@@
-9,7
+9,6
@@
*/
#include <linux/types.h>
*/
#include <linux/types.h>
-#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/in.h>
#include <linux/sunrpc/clnt.h>
#include <linux/slab.h>
#include <linux/in.h>
#include <linux/sunrpc/clnt.h>
@@
-192,7
+191,7
@@
struct nlm_host *
nlmsvc_lookup_host(struct svc_rqst *rqstp,
const char *hostname, int hostname_len)
{
nlmsvc_lookup_host(struct svc_rqst *rqstp,
const char *hostname, int hostname_len)
{
- return nlm_lookup_host(1,
&rqstp->rq_addr
,
+ return nlm_lookup_host(1,
svc_addr_in(rqstp)
,
rqstp->rq_prot, rqstp->rq_vers,
hostname, hostname_len);
}
rqstp->rq_prot, rqstp->rq_vers,
hostname, hostname_len);
}