]> git.baikalelectronics.ru Git - kernel.git/commit
__d_move(): fold manipulations with ->d_child/->d_subdirs
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 27 Sep 2014 01:34:01 +0000 (21:34 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 27 Sep 2014 01:34:01 +0000 (21:34 -0400)
commitee692589fcb54a617f909dffb9a34b41aa450559
treed69a191cc04ecf25792a1019d4471f6554bf53d5
parent40698f10f9f531a56b74267339ab781b054d8724
__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: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c