• Alexander Aring's avatar
    fs: dlm: move dlm_purge_lkb_callbacks to user module · 5ce9ef30
    Alexander Aring authored
    This patch moves the dlm_purge_lkb_callbacks() function from ast to user
    dlm module as it is only a function being used by dlm user
    implementation. I got be hinted to hold specific locks regarding the
    callback handling for dlm_purge_lkb_callbacks() but it was false
    positive. It is confusing because ast dlm implementation uses a
    different locking behaviour as user locks uses as DLM handles kernel and
    user dlm locks differently. To avoid the confusing we move this function
    to dlm user implementation.
    Signed-off-by: default avatarAlexander Aring <aahringo@redhat.com>
    Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
    5ce9ef30
ast.h 1.37 KB