bcachefs: Split out dirent alloc and name initialization
authorJoshua Ashton <joshua@froggi.es>
Sun, 13 Aug 2023 16:49:12 +0000 (17:49 +0100)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 15 Mar 2025 01:02:15 +0000 (21:02 -0400)
commit76872d46b7fa8b6dc8303de4ed45a9ac6ed92f91
treef00df65c8b05188af8f019a5308d6375eed54da0
parent72f4edcf452ce173b292e3c1817195e5f834b9de
bcachefs: Split out dirent alloc and name initialization

Splits out the code that allocates the dirent and initializes the name
to make things easier to implement casefolding in a future commit.

Cc: André Almeida <andrealmeid@igalia.com>
Cc: Gabriel Krisman Bertazi <krisman@suse.de>
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/dirent.c