diff options
author | Alexander Aring <aahringo@redhat.com> | 2023-05-19 11:21:25 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2023-05-22 13:49:55 -0500 |
commit | c847f4e203046a2c93d8a1cf0348315c0b655a60 (patch) | |
tree | 5f2ec343358d6c4c8b448bff3cbbf9f24f9fb5f8 /kernel/seccomp.c | |
parent | 92655fbda5c05950a411eaabc19e025e86e2a291 (diff) | |
download | lwn-c847f4e203046a2c93d8a1cf0348315c0b655a60.tar.gz lwn-c847f4e203046a2c93d8a1cf0348315c0b655a60.zip |
fs: dlm: fix cleanup pending ops when interrupted
Immediately clean up a posix lock request if it is interrupted
while waiting for a result from user space (dlm_controld.) This
largely reverts the recent commit b92a4e3f86b1 ("fs: dlm: change
posix lock sigint handling"). That previous commit attempted
to defer lock cleanup to the point in time when a result from
user space arrived. The deferred approach was not reliable
because some dlm plock ops may not receive replies.
Cc: stable@vger.kernel.org
Fixes: b92a4e3f86b1 ("fs: dlm: change posix lock sigint handling")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions