diff options
| author | Amir Goldstein <[email protected]> | 2023-06-15 11:22:27 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-06-19 16:12:04 +0000 |
| commit | 8a05a8c31d06c5d0d67b273a4a00f87269adde82 (patch) | |
| tree | 752752f524143b6cf74ac7f99acf95b3605ecab2 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | fs: use a helper for opening kernel internal files (diff) | |
| download | kernel-8a05a8c31d06c5d0d67b273a4a00f87269adde82.tar.gz kernel-8a05a8c31d06c5d0d67b273a4a00f87269adde82.zip | |
fs: move kmem_cache_zalloc() into alloc_empty_file*() helpers
Use a common helper init_file() instead of __alloc_file() for
alloc_empty_file*() helpers and improrve the documentation.
This is needed for a follow up patch that allocates a backing_file
container.
Suggested-by: Christoph Hellwig <[email protected]>
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 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
