diff options
author | Roland McGrath <roland@gnu.org> | 2001-01-20 23:18:19 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-01-20 23:18:19 +0000 |
commit | 841a03ccbd71ddb48d903c051daa8ff52e29335f (patch) | |
tree | 1d274ee072a2a8e822158e29bf8696ee8e91c310 /nfs/mount.c | |
parent | b6789094013ec22b21290f44de653fae7774a5ff (diff) |
2001-01-20 Roland McGrath <roland@frob.com>
* streamio.c (options): Add aliases --rdonly, --ro for -r.
Add aliases --rdwr, -rw for -w.
Add new option --writeonly/--wronly/-W.
(readonly): Variable removed.
(parse_opt): Set trivfs_allow_open for -r/-w/-W.
(main): Don't set trivfs_allow_open here. Instead, use it to decide
whether to set up input_buffer/output_buffer or not.
(open_hook): Use trivfs_allow_open instead of readonly.
Check whether read is allowed too.
(trivfs_modify_stat): Likewise.
* streamio.c (stream_name, readonly, rdev, nperopens): Remove
superfluous zero initializers.
Diffstat (limited to 'nfs/mount.c')
0 files changed, 0 insertions, 0 deletions