file: prepare for new helper
authorChristian Brauner <brauner@kernel.org>
Thu, 8 Feb 2024 18:08:37 +0000 (19:08 +0100)
committerChristian Brauner <brauner@kernel.org>
Sun, 25 Feb 2024 11:04:13 +0000 (12:04 +0100)
commit0873add0e0cd74fe3c7dae3fcfd610cbc1d08bd1
tree3c15bd43dc78a68dbfefc9a15e5af957b45a14b6
parent386dc41cf54dcf44ea40de1aca900f02b756cec0
file: prepare for new helper

In order to add a helper to open files that aren't accounted split
alloc_file() and parts of alloc_file_pseudo() into helpers. One to
prepare a path, another one to setup the file.

Suggested-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240129160241.GA2793@lst.de
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/file_table.c