diff options
author | 2022-06-14 15:10:59 +0800 | |
---|---|---|
committer | 2022-08-03 00:54:12 +0200 | |
commit | fc54cb8d876ae7b2d1bd0cf8a4d0b96a76318a91 (patch) | |
tree | 067e946fac215238a576d08c6eae0f13b5817ee9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ceph: don't get the inline data for new creating files (diff) | |
download | linux-dev-fc54cb8d876ae7b2d1bd0cf8a4d0b96a76318a91.tar.xz linux-dev-fc54cb8d876ae7b2d1bd0cf8a4d0b96a76318a91.zip |
libceph: check pointer before assigned to "c->rules[]"
It should be better to check pointer firstly, then assign it
to c->rules[]. Refine code a little bit.
Signed-off-by: Li Qiong <liqiong@nfschina.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions