aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2020-03-20 02:16:56 +0000
committerJens Axboe <[email protected]>2020-03-20 14:48:36 +0000
commit09952e3e7826119ddd4357c453d54bcc7ef25156 (patch)
tree19e373248dd2c3db726505ff186de50f2d99b6cd /fs/btrfs/dev-replace.c
parentio_uring: make sure openat/openat2 honor rlimit nofile (diff)
downloadkernel-09952e3e7826119ddd4357c453d54bcc7ef25156.tar.gz
kernel-09952e3e7826119ddd4357c453d54bcc7ef25156.zip
io_uring: make sure accept honor rlimit nofile
Just like commit 4022e7af86be, this fixes the fact that IORING_OP_ACCEPT ends up using get_unused_fd_flags(), which checks current->signal->rlim[] for limits. Add an extra argument to __sys_accept4_file() that allows us to pass in the proper nofile limit, and grab it at request prep time. Acked-by: David S. Miller <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions