aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2023-06-15 14:22:27 +0300
committerChristian Brauner <[email protected]>2023-06-19 18:12:04 +0200
commit8a05a8c31d06c5d0d67b273a4a00f87269adde82 (patch)
tree752752f524143b6cf74ac7f99acf95b3605ecab2 /tools/testing/selftests/bpf/progs/test_autoload.c
parentcbb0b9d4bbcfa96e7872808a63be03202536f1bc (diff)
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/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions