Skip to content
Commit 9d8cd306 authored by Al Viro's avatar Al Viro
Browse files

__d_move(): fold manipulations with ->d_child/->d_subdirs



list_del() + list_add() is a slightly pessimised list_move()
list_del() + INIT_LIST_HEAD() is a slightly pessimised list_del_init()

Interleaving those makes the resulting code even worse.  And harder to follow...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 8527dd71
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment