diff options
author | 2018-11-19 11:32:41 +0800 | |
---|---|---|
committer | 2018-11-18 23:47:56 -0500 | |
commit | 909e22e05353a783c526829427e9a8de122fba9c (patch) | |
tree | 40c9478aa149c9ad8d6fc151bf6f6ceba2edb0fb /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | aio: fix failure to put the file pointer (diff) | |
download | wireguard-linux-909e22e05353a783c526829427e9a8de122fba9c.tar.xz wireguard-linux-909e22e05353a783c526829427e9a8de122fba9c.zip |
exportfs: fix 'passing zero to ERR_PTR()' warning
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions