Dan Carpenter 09226e8303 NFS: Fix a potential NULL dereference in nfs_get_client()
None of the callers are expecting NULL returns from nfs_get_client() so
this code will lead to an Oops.  It's better to return an error
pointer.  I expect that this is dead code so hopefully no one is
affected.

Fixes: 31434f496abb ("nfs: check hostname in nfs_get_client")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2021-06-03 10:14:42 -04:00
..
2021-02-26 15:49:51 -07:00
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2021-05-07 11:23:41 -07:00
2020-08-15 08:26:55 -07:00
2020-05-27 10:10:12 -04:00
2021-05-07 11:23:41 -07:00
2021-05-07 11:23:41 -07:00
2021-05-07 11:23:41 -07:00
2021-04-05 09:04:20 -04:00
2021-01-24 14:27:20 +01:00
2015-04-23 15:16:14 -04:00
2021-05-07 11:23:41 -07:00
2021-05-07 11:23:41 -07:00
2020-12-17 12:15:03 -08:00