Skip to content
Commit fc54cb8d authored by Li Qiong's avatar Li Qiong Committed by Ilya Dryomov
Browse files

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: default avatarLi Qiong <liqiong@nfschina.com>
Reviewed-by: default avatarIlya Dryomov <idryomov@gmail.com>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 48490776
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment