freebsd-dev/sys/ufs
Kirk McKusick 43a993bb7d For performance reasons, it is useful to have a single string used as
the name of a filesystem when setting it as the first parameter to the
getnewvnode() function. Most filesystems call getnewvnode from just one
place so can use a literal string as the first parameter. However, NFS
calls getnewvnode from two places, so we create a global constant string
that can be used by the two instances. This change also collapses two
instances of getnewvnode() in the UFS filesystem to a single call.

Reviewed by: kib
Tested by:   Peter Holm
2015-11-29 21:01:02 +00:00
..
ffs For performance reasons, it is useful to have a single string used as 2015-11-29 21:01:02 +00:00
ufs Remove several write-only variables, all reported by the gcc 4.9 2015-05-29 13:24:17 +00:00