diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2018-11-19 11:32:41 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-29 10:21:36 +0100 |
| commit | 2ed9c501c49f2d6997d0d9d9ea545b4d79a46df6 (patch) | |
| tree | 035974d13330faeedc428ab533e4ef548e45f8a6 /scripts/decode_stacktrace.sh | |
| parent | 14bddd38a509551ffb9b6479430aefbebe7602f5 (diff) | |
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>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions
