diff options
author | 2019-04-29 09:36:23 -0600 | |
---|---|---|
committer | 2019-06-27 21:26:58 +0200 | |
commit | 55317f5b00f0dc0c807979292362ddc568b5bcc9 (patch) | |
tree | 2f52e3fae5bef3de74fcc6ea9616745b093e02aa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gfs2: Rename SDF_SHUTDOWN to SDF_WITHDRAWN (diff) | |
download | wireguard-linux-55317f5b00f0dc0c807979292362ddc568b5bcc9.tar.xz wireguard-linux-55317f5b00f0dc0c807979292362ddc568b5bcc9.zip |
gfs2: simplify gfs2_freeze by removing case
Function gfs2_freeze had a case statement that simply checked the
error code, but the break statements just made the logic hard to
read. This patch simplifies the logic in favor of a simple if.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions