diff options
| author | David Howells <[email protected]> | 2024-12-16 20:41:03 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-12-20 21:34:04 +0000 |
| commit | 07a10767853adcbdbf436dc91393b729b52c4e81 (patch) | |
| tree | bde17974dedbb379ad0f3783f1b72f3ef6b5985b /tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c | |
| parent | afs: Fix EEXIST error returned from afs_rmdir() to be ENOTEMPTY (diff) | |
| download | kernel-07a10767853adcbdbf436dc91393b729b52c4e81.tar.gz kernel-07a10767853adcbdbf436dc91393b729b52c4e81.zip | |
afs: Fix directory format encoding struct
The AFS directory format structure, union afs_xdr_dir_block::meta, has too
many alloc counter slots declared and so pushes the hash table along and
over the data. This doesn't cause a problem at the moment because I'm
currently ignoring the hash table and only using the correct number of
alloc_ctrs in the code anyway. In future, however, I should start using
the hash table to try and speed up afs_lookup().
Fix this by using the correct constant to declare the counter array.
Fixes: 4ea219a839bf ("afs: Split the directory content defs into a header")
Signed-off-by: David Howells <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
cc: Marc Dionne <[email protected]>
cc: [email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_custom_syncookie.c')
0 files changed, 0 insertions, 0 deletions
