CVSROOT: /cvs Module name: src Changes by: [email protected] 2018/07/02 23:50:46
Modified files:
sys/dev : diskmap.c
Log message:
Instead of overwriting `f_data' replace the 'struct file' with a new one.
With this change `f_data' is effectively immutable.
While here prevent a lock ordering issue by not unterleaving the vnode's
lock and the fdplock().
Tested by bluhm@, ok kettenis@, visa@, jsing@
