mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
exportfs: fix 'passing zero to ERR_PTR()' warning
commit909e22e053upstream. 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:bbf7a8a356("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: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
a0d0d8dfff
commit
69e75428fc
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue