Skip to content
Commit 53dec2ea authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <axboe@kernel.dk>
parent e342c807
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment