diff options
author | Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com> | 2021-09-14 22:38:52 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-09-14 08:47:00 -0600 |
commit | 44df58d441a94de40d52fca67dc60790daee4266 (patch) | |
tree | 662056341938d161f51576009d690b3511553610 /fs/ksmbd | |
parent | 41d3a6bd1d37149b18331fc4bb789c5456a7aeb0 (diff) |
io_uring: fix missing sigmask restore in io_cqring_wait()
Move get_timespec() section in io_cqring_wait() before the sigmask
saving, otherwise we'll fail to restore sigmask once get_timespec()
returns error.
Fixes: c73ebb685fb6 ("io_uring: add timeout support for io_uring_enter()")
Signed-off-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
Link: https://lore.kernel.org/r/20210914143852.9663-1-xiaoguang.wang@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/ksmbd')
0 files changed, 0 insertions, 0 deletions