diff options
author | Alexander Aring <aahringo@redhat.com> | 2022-08-15 22:43:16 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2022-08-23 22:42:32 +0300 |
commit | 420ba3cd035a202757f0848b435d743590deee94 (patch) | |
tree | 67cc539961fc8feca451bdc31847660c7956cd6e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 44637ca41d551d409a481117b07fa209b330fca9 (diff) | |
download | linux-420ba3cd035a202757f0848b435d743590deee94.tar.xz |
fs: dlm: handle -EBUSY first in unlock validation
This patch checks for -EBUSY conditions in dlm_unlock() before
checking for -EINVAL conditions (except for CANCEL and
FORCEUNLOCK calls where a busy condition is expected.)
There are no problems with the current ordering of checks,
but this makes dlm_unlock() consistent with dlm_lock(), and
may avoid future problems if other checks are added.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions