Files
linux/fs
Jens Axboe 00af4b88ad UPSTREAM: fs: provide locked helper variant of close_fd_get_file()
[ Upstream commit 53dec2ea74 ]

Assumes current->files->file_lock is already held on invocation. Helps
the caller check the file before removing the fd, if it needs to.

Change-Id: Idd87700a119403ce3867aa52294a14213b505faa
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit d2136fc145)
Bug: 268174392
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-02-07 13:38:09 +00:00
..
2022-07-28 15:53:46 +02:00
2022-08-29 16:53:14 +02:00
2022-06-09 10:21:16 +02:00
2022-11-21 15:47:06 +00:00
2022-10-15 08:33:43 +02:00
2022-06-06 16:37:12 +02:00
2021-02-18 11:21:01 +01:00
2022-05-12 11:23:35 +02:00
2022-11-29 23:38:14 +00:00
2022-08-31 18:52:48 +02:00