CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2018/05/09 02:42:02

Modified files:
        sys/sys        : file.h 
        sys/dev        : diskmap.c 

Log message:
Mark `f_ops' as immutable.

The only place where it was modified after initialization is a corner
case where the vnode of an open file is substitued by another one.  Sine
the type of the file doesn't change, there's no need to overwrite `f_ops'.

While here proctect file counters with `f_mtx'.

ok bluhm@, visa@

Reply via email to