diff options
| author | 2016-02-16 00:46:46 -0500 | |
|---|---|---|
| committer | 2016-02-20 14:33:11 -0800 | |
| commit | 6e16818b2438f5cb36500e2df26e9e1d11849cbe (patch) | |
| tree | b36d14a77fa2111285e7015ff10e535c2734dc47 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | staging/lustre/lov: Adjust NULL comparison codestyle (diff) | |
staging/lustre/llite: Adjust NULL comparison codestyle
All instances of "x == NULL" are changed to "!x" and
"x != NULL" to "x"
The only exception is ll_update_inode where dropping != NULL
in the construction below would break the logic.
I guess we could change lsm != NULL to !!lsm, but that's uglier.
(lsm != NULL) == ((body->valid & OBD_MD_FLEASIZE) != 0)
Also removed some redundant assertions.
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
