]> git.ipfire.org Git - thirdparty/linux.git/commit
file: add alloc_file_pseudo_noaccount()
authorChristian Brauner <brauner@kernel.org>
Thu, 8 Feb 2024 18:10:45 +0000 (19:10 +0100)
committerChristian Brauner <brauner@kernel.org>
Sun, 25 Feb 2024 11:05:08 +0000 (12:05 +0100)
commitbac0a9e56e1fd14b227ab57142eca6f7bc6e6115
tree685eb551d85a634533ec89b3eb99f505b718717e
parent0873add0e0cd74fe3c7dae3fcfd610cbc1d08bd1
file: add alloc_file_pseudo_noaccount()

When we open block devices as files we want to make sure to not charge
them against the open file limit of the caller as that can cause
spurious failures.

Link: https://lore.kernel.org/r/20240123-vfs-bdev-file-v2-1-adbd023e19cc@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/file_table.c
include/linux/file.h