aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAlexander Aring <[email protected]>2023-11-13 16:24:10 -0500
committerDavid Teigland <[email protected]>2023-11-16 11:59:19 -0600
commit6bd4a2bfe568d963af721cc5efa52091bf1a3746 (patch)
tree4b64c00c941262a866a24744b6861fd70664e931 /lib/test_fortify/write_overflow-strncpy-src.c
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 <[email protected]> Signed-off-by: David Teigland <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions