diff options
author | Yaniv Kaul <ykaul@redhat.com> | 2018-11-04 16:17:27 +0200 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-11-06 04:18:50 +0000 |
commit | 258db7178663305c26aa0068d4f72159ff0bc3ba (patch) | |
tree | 156ffa176d0fe6dd36020f30162c27ce9f86cf1b /glusterfsd/src/glusterfsd.c | |
parent | ed83a4ee7b73e6b04694d1ac11ed25d2983ac943 (diff) |
libglusterfs/src/iobuf.c: where possible, pass the index parameter
Don't 'calculate' again where it can be passed.
If possible, do not perform under lock.
Also remove some NULL checks, assuming they were done by the callers.
Left a remark for each such change.
Compile-tested only!
updates: bz#1193929
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Change-Id: Ia5c2851506da3388cb2d4445334c58881e2c4416
Diffstat (limited to 'glusterfsd/src/glusterfsd.c')
0 files changed, 0 insertions, 0 deletions