diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-01-20 01:41:52 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-01 20:02:42 +0300 |
commit | 53dec2ea74f2ef360e8455439be96a780baa6097 (patch) | |
tree | 1310979e2c4fa2b604ed81061fbee004ef1d9e7a /samples/bpf/trace_output_kern.c | |
parent | e342c807f556dbcee1370ab78af1d8faf497d771 (diff) | |
download | linux-53dec2ea74f2ef360e8455439be96a780baa6097.tar.xz |
fs: provide locked helper variant of close_fd_get_file()
Assumes current->files->file_lock is already held on invocation. Helps
the caller check the file before removing the fd, if it needs to.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'samples/bpf/trace_output_kern.c')
0 files changed, 0 insertions, 0 deletions