Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   hannken
Date:           Wed Mar  1 10:44:47 UTC 2017

Modified Files:
        src/sys/fs/tmpfs: tmpfs.h tmpfs_vfsops.c
        src/sys/kern: vfs_syscalls.c
        src/sys/rump/librump/rumpvfs: rumpfs.c
        src/sys/sys: fstypes.h param.h

Log Message:
Change the protocol to update a mounted file system from read-write
to read-only and vice versa:

- Add an internal flag IMNT_WANTRDONLY.
- Set either IMNT_WANTRDWR or IMNT_WANTRDONLY if going from or to read-only.
- After successfull call to VFS_MOUNT() set or clear MNT_RDONLY.

Adapt tmpfs and rumpfs to the new protocol.  Other file systems will be
updated when they get the IMNT_CAN_RWTORO property.

Welcome to 7.99.64


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/fs/tmpfs/tmpfs.h
cvs rdiff -u -r1.70 -r1.71 src/sys/fs/tmpfs/tmpfs_vfsops.c
cvs rdiff -u -r1.506 -r1.507 src/sys/kern/vfs_syscalls.c
cvs rdiff -u -r1.144 -r1.145 src/sys/rump/librump/rumpvfs/rumpfs.c
cvs rdiff -u -r1.34 -r1.35 src/sys/sys/fstypes.h
cvs rdiff -u -r1.530 -r1.531 src/sys/sys/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index