aboutsummaryrefslogtreecommitdiff
path: root/fs/dlm/plock.c
diff options
context:
space:
mode:
authorGravatar Alexander Aring <aahringo@redhat.com> 2023-03-06 15:48:17 -0500
committerGravatar David Teigland <teigland@redhat.com> 2023-03-06 15:49:07 -0600
commit46d6e722d8b1cf07d21662f6b29bcd8e72f77305 (patch)
tree92b43cb5323c05115447ef3c598c2106e7bea0b5 /fs/dlm/plock.c
parentfs: dlm: move internal flags to atomic ops (diff)
downloadlinux-46d6e722d8b1cf07d21662f6b29bcd8e72f77305.tar.gz
linux-46d6e722d8b1cf07d21662f6b29bcd8e72f77305.tar.bz2
linux-46d6e722d8b1cf07d21662f6b29bcd8e72f77305.zip
fs: dlm: rsb hash table flag value to atomic ops
This patch moves the rsb hash table handling to atomic flag operations. The flag operations for DLM_RTF_SHRINK are protected by ls->ls_rsbtbl[b].lock. However we switch to atomic ops if new possible flags will be used in a different way and don't assume such lock dependencies. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/plock.c')
0 files changed, 0 insertions, 0 deletions