Commit 991fb85
committed
io_uring: move ctx->restricted check into io_check_restriction()
Just a cleanup, makes the code easier to read without too many dependent
nested checks.
Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 09bd844 commit 991fb85
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2056 | 2056 | | |
2057 | 2057 | | |
2058 | 2058 | | |
| 2059 | + | |
| 2060 | + | |
2059 | 2061 | | |
2060 | 2062 | | |
2061 | 2063 | | |
| |||
2158 | 2160 | | |
2159 | 2161 | | |
2160 | 2162 | | |
2161 | | - | |
| 2163 | + | |
2162 | 2164 | | |
2163 | 2165 | | |
2164 | 2166 | | |
| |||
0 commit comments