Skip to content

dlm: kill the unnecessary and wrong device_close()->recalc_sigpending()

Oleg Nesterov dri-devel linux-arch lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1dlm: kill the unnecessary and wrong device_close()->recalc_sigpending()fs/dlm/user.c+0 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] dlm: kill the unnecessary and wrong device_close()->recalc_sigpending()
Quoted 4 lines · Oleg Nesterov

And of course, there could be another bug. I just did "grep recalc_sigpending" and immediately found at least one buggy user, fs/dlm/user.c which calls it lockless.

and the usage of sigprocmask() is wrong, see 1/1.

In fact there are more users which play with sigprocmask() this way. I am starting to think that, perhaps, we should implement some helpers for this use-case.

Oleg.