bcachefs: Introduce bch2_dirent_get_name
authorJoshua Ashton <joshua@froggi.es>
Sat, 12 Aug 2023 21:26:29 +0000 (22:26 +0100)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:10 +0000 (17:10 -0400)
commit01a7e74fe14179cba90bf3f52ad3188a1d6819d2
tree494b7ca69d8ba0ebf9ebff827d9b8b53319ca481
parentf854ce4d0a3f7281b5b99b28dd028abe21c1b0c8
bcachefs: Introduce bch2_dirent_get_name

A nice cleanup that avoids a bunch of open-coding name/string usage
around dirent usage.

Will be used by casefolding impl in future commits.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/dirent.c
fs/bcachefs/dirent.h
fs/bcachefs/fs.c