summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-08-09 12:59:15 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-08-09 12:59:15 +0000
commitba3c066854b71d1c216a711c26b604cd88253d68 (patch)
tree2c10a80ee9142d866d0399bb2d6071ab5624f616 /sys/arch/mvme68k
parent1c66e6c37d01416c6e7407f372e6cbb6dff4a6c3 (diff)
struct statfs uses a signed short f_flags field. This field is used in
the long (the type) expression that makes up the mount flags field passed to mount(2). If we are dealing with a noatime mount this means sign extension will occur and the flag field will get messed up. I.e. noatime mounts (at least rw ones) ended up not exportable. I fixed this by casting to u_short in the expressions, but I would like to change struct statfs instead, but that is an API issue it is not for me to decide on. I also added error decoding in two syslog calls. This was made possible by the arglist heuristics printout of OpenBSD/alpha DDB :-)
Diffstat (limited to 'sys/arch/mvme68k')
0 files changed, 0 insertions, 0 deletions