diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-08-09 12:59:15 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-08-09 12:59:15 +0000 |
commit | ba3c066854b71d1c216a711c26b604cd88253d68 (patch) | |
tree | 2c10a80ee9142d866d0399bb2d6071ab5624f616 /sys/arch/i386/stand/mbr | |
parent | 1c66e6c37d01416c6e7407f372e6cbb6dff4a6c3 (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/i386/stand/mbr')
0 files changed, 0 insertions, 0 deletions