diff options
author | Fedor Pchelkin <[email protected]> | 2024-05-20 12:08:18 +0300 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-05-24 13:34:07 +0200 |
commit | f826bc9d6fc2f0e089fb8d104415d72e4d2e204c (patch) | |
tree | ce577f01f05770ccd7be32538e0a01dd1d025826 /lib/memory-notifier-error-inject.c | |
parent | 4e527d5841e24623181edc7fd6f6598ffa810e10 (diff) |
signalfd: fix error return code
If anon_inode_getfile() fails, return appropriate error code. This looks
like a single typo: the similar code changes in timerfd and userfaultfd
are okay.
Found by Linux Verification Center (linuxtesting.org).
Fixes: fbe38120eb1d ("signalfd: convert to ->read_iter()")
Signed-off-by: Fedor Pchelkin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jens Axboe <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions