cvs commit: src/sys/fs/fifofs fifo_vnops.c

Don Lewis truckman at FreeBSD.org
Mon Nov 10 20:54:19 PST 2003


truckman    2003/11/10 14:21:00 PST

  FreeBSD src repository

  Modified files:
    sys/fs/fifofs        fifo_vnops.c 
  Log:
  If fifo_open() is interrupted, fifo_close() may not get called, causing
  a resource leak.  Move the resource deallocation code from fifo_close()
  to a new function, fifo_cleanup(), and call fifo_cleanup() from
  fifo_close() and the appropriate places in fifo_open().
  
  Tested by:      Lukas Ertl
  Pointy hat to:  truckman
  
  Revision  Changes    Path
  1.90      +23 -9     src/sys/fs/fifofs/fifo_vnops.c



More information about the cvs-src mailing list