summaryrefslogtreecommitdiffstats
path: root/lib/stackdepot.c
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2021-11-02 15:17:12 -0400
committerDavid Teigland <teigland@redhat.com>2021-11-02 14:39:20 -0500
commit3e9736713d0cb2877b11ec7185b231bba7b21936 (patch)
tree8afec2e37a246beb03f5c0d02a4d37b7a1442863 /lib/stackdepot.c
parent658bd576f95ed597e519cdadf1c86ac87c17aea5 (diff)
downloadlinux-stable-3e9736713d0cb2877b11ec7185b231bba7b21936.tar.gz
linux-stable-3e9736713d0cb2877b11ec7185b231bba7b21936.tar.bz2
linux-stable-3e9736713d0cb2877b11ec7185b231bba7b21936.zip
fs: dlm: use dlm_recovery_stopped instead of test_bit
This patch will change to use dlm_recovery_stopped() which is the dlm way to check if the LSFL_RECOVER_STOP flag in ls_flags by using the helper. It is an atomic operation but the check is still as before to fetch the value if ls_recover_lock is held. There might be more further investigations if the value can be changed afterwards and if it has any side effects. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'lib/stackdepot.c')
0 files changed, 0 insertions, 0 deletions