diff options
author | Xiubo Li <xiubli@redhat.com> | 2023-05-08 14:45:01 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2023-05-18 11:15:28 +0200 |
commit | 9aaa7eb018661b2da221362d9bacb096bd596f52 (patch) | |
tree | 5f434b0e741de48e5486dbcf095a4199fd526937 /certs | |
parent | f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6 (diff) |
ceph: silence smatch warning in reconnect_caps_cb()
Smatch static checker warning:
fs/ceph/mds_client.c:3968 reconnect_caps_cb()
warn: missing error code here? '__get_cap_for_mds()' failed. 'err' = '0'
[ idryomov: Dan says that Smatch considers it intentional only if the
"ret = 0;" assignment is within 4 or 5 lines of the goto. ]
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions