]> git.michaelhowe.org Git - packages/o/openafs.git/commit
FBSD: Switch the dummy 'data' for mount(2)
authorBenjamin Kaduk <kaduk@mit.edu>
Thu, 6 Feb 2014 22:01:19 +0000 (17:01 -0500)
committerStephan Wiesand <stephan.wiesand@desy.de>
Fri, 4 Mar 2016 09:52:57 +0000 (04:52 -0500)
commit84f1d7f21dc4195d7c8476988c532d62b7bf65c5
treec88d1de39c208755a2a0d92e7141deba3730b4c9
parent53ef9aa938c604c2c147ad64f649d3c8fc63b548
FBSD: Switch the dummy 'data' for mount(2)

The mount(2) API takes a void*, but 'rn' is const char*, which
is const-incorrect.  Our vfs_cmount implementation ignores the 'data'
parameter, but upstream's kernel mount(2) implementation did
have a NULL check until r158611 (in the 6.1 or 7.0 timeframe),
so leave that comment for now.

Arguably we should be using nmount(2) instead of mount(2) anyway,
but leave that for a separate patch.

Reviewed-on: http://gerrit.openafs.org/10821
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit 53d7145416c0a6bafa7ecccd113178fc4af04f8f)

Change-Id: Id8ab9ec946a8eee7c73cf234f35e7d12a65f6d84
Reviewed-on: http://gerrit.openafs.org/11776
Reviewed-by: Jeffrey Altman <jaltman@auristor.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afsd/afsd_kernel.c