cvs commit: src/sys/fs/devfs devfs_vnops.c

Poul-Henning Kamp phk at FreeBSD.org
Sat Nov 13 23:21:55 GMT 2004


phk         2004-11-13 23:21:54 UTC

  FreeBSD src repository

  Modified files:
    sys/fs/devfs         devfs_vnops.c 
  Log:
  Add the devfs_fp_check() function which helps us get from a struct file
  to a cdev and a devsw, doing all the relevant checks along the way.
  
  Add the check to see if fp->f_vnode->v_rdev differs from our cached
  fp->f_data copy of our cdev.  If it does the device was revoked and
  we return ENXIO.
  
  Revision  Changes    Path
  1.83      +34 -70    src/sys/fs/devfs/devfs_vnops.c


More information about the cvs-src mailing list