summaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2023-07-11 18:27:17 -0700
committerAndrew Morton <akpm@linux-foundation.org>2023-08-18 10:12:17 -0700
commit597425df4fecd272ca48f73feca7833433c16e12 (patch)
treea45e941c49a6836ecda3d92f2a632c3f2b90cca3 /lib/netdev-notifier-error-inject.c
parentfc71884a5f599a603fcc3c2b28b3872c09d19c18 (diff)
mm: userfaultfd: add new UFFDIO_POISON ioctl: fix
Smatch has observed that pte_offset_map_lock() is now allowed to fail, and then ptl should not be unlocked. Use -EAGAIN here like elsewhere. Link: https://lkml.kernel.org/r/bc7bba61-d34f-ad3a-ccf1-c191585ef851@google.com Signed-off-by: Hugh Dickins <hughd@google.com> Reviewed-by: Axel Rasmussen <axelrasmussen@google.com> Cc: Dan Carpenter <dan.carpenter@linaro.org> Cc: Peter Xu <peterx@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions