diff options
author | Jens Axboe <[email protected]> | 2023-05-09 09:12:24 -0600 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2023-05-12 17:17:27 +0200 |
commit | c04fe8e32f907ea668f3f802387c1148fdb0e6c9 (patch) | |
tree | f59e8af5e48f2b1291b3d537c1bdb6b71e549abf /drivers/fpga/fpga-bridge.c | |
parent | ac9a78681b921877518763ba0e89202254349d1b (diff) |
pipe: check for IOCB_NOWAIT alongside O_NONBLOCK
Pipe reads or writes need to enable nonblocking attempts, if either
O_NONBLOCK is set on the file, or IOCB_NOWAIT is set in the iocb being
passed in. The latter isn't currently true, ensure we check for both
before waiting on data or space.
Fixes: afed6271f5b0 ("pipe: set FMODE_NOWAIT on pipes")
Signed-off-by: Jens Axboe <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions