Messages in this thread | | | Date | Mon, 19 Nov 2018 04:47:37 +0000 | From | Al Viro <> | Subject | Re: [PATCH -next] exportfs: fix 'passing zero to ERR_PTR()' warning |
| |
On Mon, Nov 19, 2018 at 11:32:41AM +0800, YueHaibing wrote: > 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>
Applied.
| |