diff options
author | Theodore Ts'o <tytso@mit.edu> | 2025-07-12 14:12:49 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2025-07-17 23:25:21 -0400 |
commit | 90f097b1403f232a202c501bfd49b1b196e840ea (patch) | |
tree | eeffaf6076423134c72101428bf9feb3c3661f12 /rust/helpers/err.c | |
parent | a35454ecf8a320c49954fdcdae0e8d3323067632 (diff) |
ext4: refactor the inline directory conversion and new directory codepaths
There was a lot of common code in the codepaths used to convert an
inline directory and to creaet a new directory. To address this,
rename ext4_init_dot_dotdot() to ext4_init_dirblock() and then move
common code into that function.
This reduces the lines of code count in fs/ext4/inline.c and
fs/ext4/namei.c, as well as reducing the size of their object files.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Link: https://patch.msgid.link/20250712181249.434530-3-tytso@mit.edu
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions