diff options
| author | Alexander Aring <aahringo@redhat.com> | 2025-08-14 18:22:13 +0300 |
|---|---|---|
| committer | David Teigland <teigland@redhat.com> | 2025-08-14 23:16:05 +0300 |
| commit | 8d90041a0d285044b89629f539ca0685e156848b (patch) | |
| tree | 5be313e30da3d159cb0ce2e0f1296ddc57dc6ed0 /include/linux | |
| parent | a8abcff174f7f9ce4587c6451b1a2450d01f52c9 (diff) | |
| download | linux-8d90041a0d285044b89629f539ca0685e156848b.tar.xz | |
dlm: handle release_option as unsigned
Future patches will introduce a invalid argument check for undefined
values. All values for release_option are positive integer values to not
check on negative values as well we just change the parameter to
unsigned int.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/dlm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/dlm.h b/include/linux/dlm.h index 108eb953eb18..34015a008b80 100644 --- a/include/linux/dlm.h +++ b/include/linux/dlm.h @@ -122,7 +122,8 @@ int dlm_new_lockspace(const char *name, const char *cluster, * release_option: see DLM_RELEASE values above. */ -int dlm_release_lockspace(dlm_lockspace_t *lockspace, int release_option); +int dlm_release_lockspace(dlm_lockspace_t *lockspace, + unsigned int release_option); /* * dlm_lock |
