Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2003 20:05:59 -0700 (PDT)
From:      "Tim J. Robbins" <tjr@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c
Message-ID:  <200306290306.h5T360Ep009734@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
tjr         2003/06/28 20:05:59 PDT

  FreeBSD src repository

  Modified files:
    sys/fs/msdosfs       msdosfs_vfsops.c 
  Log:
  XXX Copy workaround from UFS: open device for write access even if
  the user requests a read-only mount. This is necessary because we
  don't do the VOP_OPEN again if they upgrade a read-only mount to
  read-write.
  
  Fixes lockup when creating files on msdosfs mounts that have been
  mounted read-only then upgraded to read-write. The exact cause of
  the lockup is not known, but it is likely to be the kernel getting
  stuck in an infinite loop trying to write dirty buffers to a device
  without write permission.
  
  Reported/tested by andreas, discussed with phk.
  
  Revision  Changes    Path
  1.103     +19 -0     src/sys/fs/msdosfs/msdosfs_vfsops.c



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