aboutsummaryrefslogtreecommitdiff
path: root/sys/netsmb
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2021-02-12 18:30:52 +0000
committerAlan Somers <asomers@FreeBSD.org>2021-02-12 18:30:52 +0000
commitf540cb27a23719d88b7e5143be6e62f75dd25f08 (patch)
tree23b637d544811d54a68645a4114ae692487c6eeb /sys/netsmb
parenta62dc346f6171ef1bd52bb8795eaf2d64394ac24 (diff)
downloadsrc-f540cb27a23719d88b7e5143be6e62f75dd25f08.tar.gz
src-f540cb27a23719d88b7e5143be6e62f75dd25f08.zip
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. MFC after: 6 weeks Sponsored by: Axcient
Diffstat (limited to 'sys/netsmb')
0 files changed, 0 insertions, 0 deletions