aboutsummaryrefslogtreecommitdiff
path: root/fs/ceph/metric.c
diff options
context:
space:
mode:
authorXiubo Li2022-03-02 15:29:51 +0800
committerIlya Dryomov2022-03-21 13:35:16 +0100
commit1ad3bb28d336978e451980ca6c72be494b8fe2f1 (patch)
tree6f48f3288c635db7dec66e0d66bf84f886b70546 /fs/ceph/metric.c
parent322794d3355c33adcc4feace0045d85a8e4ed813 (diff)
ceph: assign the ci only when the inode isn't NULL
The ceph_find_inode() may will fail and return NULL. Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/metric.c')
0 files changed, 0 insertions, 0 deletions