HomeFreeBSD

mount_nullfs: rename a local variable

Description

mount_nullfs: rename a local variable

The "source" variable was introduced in r26072, probably as the
traditional counterpart to "target". But the "source"/"target" names
suggest the opposite of their actual meaning. With ln, for example, the
source is the real file and the target is the newly created link. In
mount_nullfs the meaning is the opposite: the target is the existing
file system and the source is the newly created mountpoint. Better to
use "target"/"mountpoint" terminology, which matches the man page.

Sponsored by: Axcient

(cherry picked from commit f540cb27a23719d88b7e5143be6e62f75dd25f08)

Details

Provenance
asomersAuthored on Feb 12 2021, 6:30 PM
Parents
R10:588b2e6dd2f6: netmap: pkt-gen: allow -Z and -z to be used together
Branches
Unknown
Tags
Unknown