diff options
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r-- | fs/nfs/client.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 44fe7fd7bfbf..73bf4ecad030 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
@@ -242,7 +242,7 @@ static int nfs_sockaddr_match_ipaddr(const struct sockaddr *sa1, | |||
242 | * Find a client by IP address and protocol version | 242 | * Find a client by IP address and protocol version |
243 | * - returns NULL if no such client | 243 | * - returns NULL if no such client |
244 | */ | 244 | */ |
245 | struct nfs_client *_nfs_find_client(const struct sockaddr *addr, int nfsversion) | 245 | struct nfs_client *nfs_find_client(const struct sockaddr *addr, u32 nfsversion) |
246 | { | 246 | { |
247 | struct nfs_client *clp; | 247 | struct nfs_client *clp; |
248 | 248 | ||
@@ -272,11 +272,6 @@ struct nfs_client *_nfs_find_client(const struct sockaddr *addr, int nfsversion) | |||
272 | return NULL; | 272 | return NULL; |
273 | } | 273 | } |
274 | 274 | ||
275 | struct nfs_client *nfs_find_client(const struct sockaddr_in *addr, int nfsversion) | ||
276 | { | ||
277 | return _nfs_find_client((const struct sockaddr *)addr, nfsversion); | ||
278 | } | ||
279 | |||
280 | /* | 275 | /* |
281 | * Find an nfs_client on the list that matches the initialisation data | 276 | * Find an nfs_client on the list that matches the initialisation data |
282 | * that is supplied. | 277 | * that is supplied. |