diff options
| author | Matheus Alves de Almeida <matheus.aalmeida@inf.ufrgs.br> | 2026-10-12 14:11:05 -0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-10-20 22:29:55 -0700 |
| commit | d2febfdc2b7f77d409f19af8d289a0cf7ff63dbc (patch) | |
| tree | e05e272b4d99d9664f26cc3b28f6d1909cd4b338 /rust/kernel/alloc | |
| parent | 930256458a8a53b89466a3f90c82dbe554efeced (diff) | |
fat: support adding multiple clusters
fat_add_cluster() currently adds only one cluster to a file's chain,
requiring multiple calls when adding more clusters.
Add a fat_alloc_chain() helper that allocates a cluster chain
but only returns the first cluster. Extend fat_add_cluster()
to add multiple clusters in a single call and rename it to
fat_add_clusters() to reflect the new behavior.
Link: https://lore.kernel.org/20261012171106.146243-3-matheus.aalmeida@inf.ufrgs.br
Signed-off-by: Matheus Alves de Almeida <matheus.aalmeida@inf.ufrgs.br>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
