summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/usb/uaudio.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2005-04-27 14:46:02 +0000
committerdes <des@FreeBSD.org>2005-04-27 14:46:02 +0000
commit5e15cfc3fa10dccdd2f4b4b09756ec41ccdf79c9 (patch)
treee7a8630c6bdd3caf012ffb135c8022dea33f1fde /sys/dev/sound/usb/uaudio.c
parent00028d2c5b91757e8d65024214adfbac51e4528f (diff)
downloadFreeBSD-src-5e15cfc3fa10dccdd2f4b4b09756ec41ccdf79c9.zip
FreeBSD-src-5e15cfc3fa10dccdd2f4b4b09756ec41ccdf79c9.tar.gz
When NFS was converted to the new mount syscall, code was written that sets
the MNT_RDONLY flag if the "ro" option was passed in from userland, and clears it otherwise. In the diskless case, the MNT_RDONLY flag is already set when this code is reached, but there are no mount options, so it was incorrectly cleared. Change the logic so the MNT_RDONLY flag is set if the "ro" option was specified, and left alone otherwise. Note that the NFS code will still happily let you mount a filesystem RW even if the server exports it RO. I'm not sure how to fix that.
Diffstat (limited to 'sys/dev/sound/usb/uaudio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud