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
2021-05-20 12:17:08 -04:00
2021-04-14 09:36:29 -04:00
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2021-04-16 08:50:21 -04:00
2021-01-25 09:36:23 -05:00
2019-04-24 09:46:35 -04:00
2020-03-16 08:34:30 -04:00
2021-06-03 10:14:42 -04:00
2021-04-14 09:36:29 -04:00
2021-04-14 09:36:29 -04: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
2017-11-02 11:10:55 +01:00
2021-04-12 20:11:44 -04:00
2021-04-12 20:11:44 -04:00
2021-05-07 11:23:41 -07:00
2020-01-15 10:54:30 -05:00
2021-02-01 13:32:48 -05:00
2020-01-15 10:54:30 -05:00
2020-03-30 19:56:50 -04: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
2017-11-02 11:10:55 +01:00
2021-03-08 11:47:47 -05:00
2020-07-13 17:52:46 -04:00
2021-04-05 09:04:21 -04:00
2021-05-27 09:19:33 -04:00
2019-07-06 14:54:49 -04:00
2019-05-21 10:50:45 +02:00
2020-12-02 14:05:53 -05:00
2021-01-24 14:27:20 +01:00
2021-04-12 20:11:44 -04:00
2020-01-15 10:15:17 -05:00
2020-12-02 14:05:52 -05:00
2019-05-21 10:50:45 +02:00
2021-04-14 09:36:29 -04:00
2020-10-02 08:43:09 -04:00
2021-06-03 10:14:42 -04:00
2021-05-27 08:46:19 -04:00
2017-11-02 11:10:55 +01:00
2020-10-13 15:56:54 -04:00
2015-04-23 15:16:14 -04:00
2020-06-26 08:43:14 -04:00
2021-06-03 10:14:42 -04:00
2021-05-07 00:26:34 -07:00
2019-05-21 10:50:45 +02:00
2020-12-14 06:51:07 -05:00
2021-05-07 11:23:41 -07:00
2021-01-10 13:32:39 -05:00
2018-01-18 15:10:47 -05:00
2020-01-15 10:54:33 -05:00
2021-04-14 09:36:29 -04:00
2021-05-07 11:23:41 -07:00
2020-07-13 17:52:45 -04:00
2021-04-14 10:42:24 -04:00
2021-04-05 09:04:20 -04:00
2020-12-17 12:15:03 -08:00
2017-11-02 11:10:55 +01:00
2020-11-02 10:29:03 -05:00
2021-04-14 09:36:29 -04:00
2021-04-14 09:36:29 -04:00
2021-05-26 06:36:13 -04:00
2020-12-16 17:25:24 -05:00
2021-01-10 13:32:52 -05:00
2021-05-20 12:17:08 -04:00
2021-01-10 13:32:51 -05:00
2021-04-13 10:04:05 -04:00
2021-02-01 13:32:48 -05:00
2021-05-27 09:19:33 -04:00
2019-05-09 16:26:57 -04:00
2017-11-02 11:10:55 +01:00
2020-10-15 13:31:08 -04:00
2020-10-15 13:31:08 -04:00
2021-03-08 16:13:55 -05:00
2021-04-13 10:04:05 -04:00