git: sys/vfs/hammer2: Remove redundant chain size calculation in hammer2_chain_create()
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Mon Oct 12 10:13:13 PDT 2020
commit b31118ee09d47070cd7a757f0f168e727d88deff
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date: Tue Oct 13 00:32:01 2020 +0900
sys/vfs/hammer2: Remove redundant chain size calculation in hammer2_chain_create()
hammer2_chain_alloc() sets ->bytes, so no need to recalculate.
hammer2_chain_alloc() was implemented differently when this was
written in 6934ae32a6b0216475b705fb6831ae2ca9da7672 in 2012.
Also remove obsolete comment from
b7add6753e221920947c96fab3314c39a2f67fe4 in 2015.
Summary of changes:
sys/vfs/hammer2/hammer2_chain.c | 12 ------------
1 file changed, 12 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b31118ee09d47070cd7a757f0f168e727d88deff
--
DragonFly BSD source repository
More information about the Commits
mailing list