Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2009 21:12:58 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@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:  <200902142113.n1ELDFle051370@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

kib         2009-02-14 21:12:58 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    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 188614 on 2009-02-14 21:12:58Z by kib
  
  MFC r183070:
  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.
  
  Revision   Changes    Path
  1.74.2.3   +2 -0      src/sys/ufs/ffs/ffs_extern.h
  1.108.2.5  +8 -0      src/sys/ufs/ffs/ffs_inode.c
  1.329.2.8  +1 -0      src/sys/ufs/ffs/ffs_vfsops.c
  1.69.2.1   +2 -3      src/sys/ufs/ufs/ufs_inode.c
  1.291.2.8  +1 -1      src/sys/ufs/ufs/ufs_vnops.c
  1.37.2.1   +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?200902142113.n1ELDFle051370>