diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-11-23 14:17:16 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-25 19:56:11 -0700 |
commit | bd3ded3146daa2cbb57ed353749ef99cf75371b0 (patch) | |
tree | 72d55790cbd79afedf04b8fe819ae483eda22ea9 /fs | |
parent | c4a2ed72c9a61594b6afc23e1fbc78878d32b5a3 (diff) | |
download | linux-bd3ded3146daa2cbb57ed353749ef99cf75371b0.tar.bz2 |
net: add __sys_connect_file() helper
This is identical to __sys_connect(), except it takes a struct file
instead of an fd, and it also allows passing in extra file->f_flags
flags. The latter is done to support masking in O_NONBLOCK without
manipulating the original file flags.
No functional changes in this patch.
Cc: netdev@vger.kernel.org
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions