diff options
| author | Amir Goldstein <[email protected]> | 2023-06-15 11:22:26 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-06-19 16:11:58 +0000 |
| commit | cbb0b9d4bbcfa96e7872808a63be03202536f1bc (patch) | |
| tree | 065d10cee8d5fbdb6452671d4bfe980b4cc3f9e7 /fs/file_table.c | |
| parent | fs: rename {vfs,kernel}_tmpfile_open() (diff) | |
| download | kernel-cbb0b9d4bbcfa96e7872808a63be03202536f1bc.tar.gz kernel-cbb0b9d4bbcfa96e7872808a63be03202536f1bc.zip | |
fs: use a helper for opening kernel internal files
cachefiles uses kernel_open_tmpfile() to open kernel internal tmpfile
without accounting for nr_files.
cachefiles uses open_with_fake_path() for the same reason without the
need for a fake path.
Fork open_with_fake_path() to kernel_file_open() which only does the
noaccount part and use it in cachefiles.
Signed-off-by: Amir Goldstein <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions
