diff options
author | David Teigland <teigland@redhat.com> | 2024-03-15 22:11:45 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2024-03-15 22:39:28 +0300 |
commit | 484b4f90c28f441e71e9d7df407c5b76578d2658 (patch) | |
tree | 6e0dcce8212837f8632d15c1ab9545cbefb1443f /fs/dlm/dlm_internal.h | |
parent | 2ab3d705ca5d4f7ea345a21c3da41a447a549649 (diff) | |
download | linux-484b4f90c28f441e71e9d7df407c5b76578d2658.tar.xz |
dlm: revert atomic_t lkb_wait_count
Revert "fs: dlm: handle lkb wait count as atomic_t"
This reverts commit 75a7d60134ce84209f2c61ec4619ee543aa8f466.
This counter does not need to be atomic. As the comment in
the reverted commit mentions, the counter is protected by
the rsb lock.
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/dlm_internal.h')
-rw-r--r-- | fs/dlm/dlm_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/dlm_internal.h b/fs/dlm/dlm_internal.h index dfc444dad329..3b4dbce849f0 100644 --- a/fs/dlm/dlm_internal.h +++ b/fs/dlm/dlm_internal.h @@ -246,7 +246,7 @@ struct dlm_lkb { int8_t lkb_highbast; /* highest mode bast sent for */ int8_t lkb_wait_type; /* type of reply waiting for */ - atomic_t lkb_wait_count; + int8_t lkb_wait_count; int lkb_wait_nodeid; /* for debugging */ struct list_head lkb_statequeue; /* rsb g/c/w list */ |