aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2020-05-05 11:53:21 -0500
committerAndreas Gruenbacher <agruenba@redhat.com>2020-05-08 18:47:58 +0200
commit4ed0c30811cb4d30ef89850b787a53a84d5d2bcb (patch)
tree7a9ea7fad5138fa93377f285bc3b44f872fb833a /tools/perf/scripts/python/export-to-postgresql.py
parentgfs2: remove check for quotas on in gfs2_quota_check (diff)
downloadwireguard-linux-4ed0c30811cb4d30ef89850b787a53a84d5d2bcb.tar.xz
wireguard-linux-4ed0c30811cb4d30ef89850b787a53a84d5d2bcb.zip
gfs2: move privileged user check to gfs2_quota_lock_check
Before this patch, function gfs2_quota_lock checked if it was called from a privileged user, and if so, it bypassed the quota check: superuser can operate outside the quotas. That's the wrong place for the check because the lock/unlock functions are separate from the lock_check function, and you can do lock and unlock without actually checking the quotas. This patch moves the check to gfs2_quota_lock_check. 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