fs: dedup handling of struct filename init and refcounts bumps

No functional changes.

Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://lore.kernel.org/r/20250313142744.1323281-1-mjguzik@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Mateusz Guzik 2025-03-13 15:27:44 +01:00 • committed by Christian Brauner
commit 611851010c
No known key found for this signature in database
GPG key ID: 91C61BC06578DCA2
3 changed files with 20 additions and 15 deletions