summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-09-10 17:47:59 +0200
committerChristian Brauner <brauner@kernel.org>2026-10-05 13:11:47 +0200
commitf192beb5479a3a87541f3cf8d845abc8ee9959bd (patch)
tree8e52186db1e9e149493c6d0aeaf45e1ce81649af /tools/lib/python
parent676404c5a389a39e3a654d44eb6659cbba41ef32 (diff)
downloadlinux-next-f192beb5479a3a87541f3cf8d845abc8ee9959bd.tar.gz
linux-next-f192beb5479a3a87541f3cf8d845abc8ee9959bd.zip
fs: don't open-code file_close_fd() in close_fd()
close_fd() takes the lock, calls file_close_fd_locked() and drops the lock, which is exactly what file_close_fd() does. Use it. No functional changes. Link: https://patch.msgid.link/20260910-work-coredump-unlock-self-v4-1-a5c1800dc930@kernel.org Reviewed-by: NeilBrown <neil@brown.name> Reviewed-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions