git: sys/vfs/hammer2: hammer2_chain_t is unneeded for dummy blockref
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Tue Sep 17 12:24:48 PDT 2019
commit 15ec687d7fb4078bff0a279d56c5569d62a284a9
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Tue Sep 17 01:34:11 2019 +0900
sys/vfs/hammer2: hammer2_chain_t is unneeded for dummy blockref
hammer2_chain_create_indirect() only needs hammer2_blockref_t
part of chain as a local variable. Do the same as hammer2_chain_create()
to save stack a bit.
Summary of changes:
sys/vfs/hammer2/hammer2_chain.c | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/15ec687d7fb4078bff0a279d56c5569d62a284a9
--
DragonFly BSD source repository
More information about the Commits
mailing list