Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2001 19:42:28 -0800 (PST)
From:      Matt Dillon <dillon@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/vn vn.c
Message-ID:  <200111090342.fA93gSV34824@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dillon      2001/11/08 19:42:28 PST

  Modified files:        (Branch: RELENG_4)
    sys/dev/vn           vn.c 
  Log:
  Fix a long standing (since '94) error in VN related to file-backed VN
  devices.  The VOP_ISLOCKED() call was completely bogus and could cause
  the VN device to issue VOP_READ() and VOP_WRITE() calls without obtaining
  the vnode lock if another process (e.g. like the buf_daemon or syncer)
  was holding the lock.  This could potentially result in a corrupt filesystem.
  
  (MD in -current already does the right thing).
  
  Revision   Changes    Path
  1.105.2.3  +5 -12     src/sys/dev/vn/vn.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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