summaryrefslogtreecommitdiff
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2023-11-13 16:24:10 -0500
committerDavid Teigland <teigland@redhat.com>2023-11-16 11:59:19 -0600
commit6bd4a2bfe568d963af721cc5efa52091bf1a3746 (patch)
tree4b64c00c941262a866a24744b6861fd70664e931 /fs/ocfs2
parentdbee1adeb7e6d31c9afbad8e9248c15694f1cc0c (diff)
dlm: use FL_SLEEP to determine blocking vs non-blocking
This patch uses the FL_SLEEP flag in struct file_lock to determine if the lock request is a blocking or non-blocking request. Before dlm was using IS_SETLKW() was being used which is not usable for lock requests coming from lockd when EXPORT_OP_SAFE_ASYNC_LOCK inside the export flags is set. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/ocfs2')
0 files changed, 0 insertions, 0 deletions