YueHaibing 296f9d916c exportfs: fix 'passing zero to ERR_PTR()' warning
[ Upstream commit 909e22e05353a783c526829427e9a8de122fba9c ]

Fix a static code checker warning:
  fs/exportfs/expfs.c:171 reconnect_one() warn: passing zero to 'ERR_PTR'

The error path for lookup_one_len_unlocked failure
should set err to PTR_ERR.

Fixes: bbf7a8a3562f ("exportfs: move most of reconnect_path to helper function")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:50:02 +01:00
..
2019-08-06 19:06:51 +02:00
2019-12-13 08:52:23 +01:00
2019-12-17 20:35:18 +01:00
2020-01-17 19:47:13 +01:00
2019-12-13 08:52:36 +01:00
2018-08-17 16:20:28 -07:00
2018-08-15 22:47:23 -07:00
2019-12-13 08:51:59 +01:00
2020-01-09 10:19:03 +01:00
2018-08-17 16:20:27 -07:00
2018-08-18 11:44:53 -07:00
2019-11-20 18:46:04 +01:00
2019-05-02 09:58:59 +02:00
2018-07-03 16:44:45 -04:00
2018-08-21 18:19:09 -07:00