diff options
author | Xiubo Li | 2022-03-02 15:29:51 +0800 |
---|---|---|
committer | Ilya Dryomov | 2022-03-21 13:35:16 +0100 |
commit | 1ad3bb28d336978e451980ca6c72be494b8fe2f1 (patch) | |
tree | 6f48f3288c635db7dec66e0d66bf84f886b70546 /fs/ceph/metric.c | |
parent | 322794d3355c33adcc4feace0045d85a8e4ed813 (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