Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2008 10:59:35 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/ufs/ffs ffs_extern.h ffs_inode.c ffs_vfsops.c src/sys/ufs/ufs ufs_inode.c ufs_vnops.c ufsmount.h
Message-ID:  <200809161059.m8GAxxNB015942@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2008-09-16 10:59:35 UTC

  FreeBSD src repository

  Modified files:
    sys/ufs/ffs          ffs_extern.h ffs_inode.c ffs_vfsops.c 
    sys/ufs/ufs          ufs_inode.c ufs_vnops.c ufsmount.h 
  Log:
  SVN rev 183070 on 2008-09-16 10:59:35Z by kib
  
  When downgrading the read-write mount to read-only, do_unmount() sets
  MNT_RDONLY flag before the VFS_MOUNT() is called. In ufs_inactive()
  and ufs_itimes_locked(), UFS verifies whether the fs is read-only by
  checking MNT_RDONLY, but this may cause loss of the IN_MODIFIED flag
  for inode on the fs being remounted rw->ro.
  
  Introduce UFS_RDONLY() struct ufsmount' method that reports the value
  of the fs_ronly. The later is set to 1 only after the remount is
  finished.
  
  Reviewed by:    tegge
  In collaboration with:  pho
  MFC after:       1 month
  
  Revision  Changes    Path
  1.76      +2 -0      src/sys/ufs/ffs/ffs_extern.h
  1.111     +8 -0      src/sys/ufs/ffs/ffs_inode.c
  1.347     +1 -0      src/sys/ufs/ffs/ffs_vfsops.c
  1.70      +2 -3      src/sys/ufs/ufs/ufs_inode.c
  1.301     +1 -1      src/sys/ufs/ufs/ufs_vnops.c
  1.39      +2 -0      src/sys/ufs/ufs/ufsmount.h



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