Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2008 23:01:09 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/gnu/fs/xfs/FreeBSD xfs_mountops.c xfs_vnode.c src/sys/kern vfs_subr.c
Message-ID:  <200807212302.m6LN2Qe3003043@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
attilio     2008-07-21 23:01:09 UTC

  FreeBSD src repository

  Modified files:
    sys/gnu/fs/xfs/FreeBSD xfs_mountops.c xfs_vnode.c 
    sys/kern             vfs_subr.c 
  Log:
  SVN rev 180682 on 2008-07-21 23:01:09Z by attilio
  
  - Disallow XFS mounting in write mode.  The write support never worked really
    and there is no need to maintain it.
  - Fix vn_get() in order to let it call vget(9) with a valid locking
    request.  vget(9) returns the vnode locked in order to prevent recycling,
    but in this case internal XFS locks alredy prevent it from happening, so
    it is safe to drop the vnode lock before to return by vn_get().
  - Add a VNASSERT() in vget(9) in order to catch malformed locking requests.
  
  Discussed with: kan, kib
  Tested by:      Lothar Braun <lothar at lobraun dot de>
  
  Revision  Changes    Path
  1.12      +3 -1      src/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
  1.5       +10 -5     src/sys/gnu/fs/xfs/FreeBSD/xfs_vnode.c
  1.733     +2 -0      src/sys/kern/vfs_subr.c



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