Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2003 14:21:00 -0800 (PST)
From:      Don Lewis <truckman@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/fifofs fifo_vnops.c
Message-ID:  <200311102221.hAAML0sW066066@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311102221.hAAML0sW066066>