Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2010 02:30:56 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/fs/nfsserver nfs_nfsdstate.c
Message-ID:  <201009270231.o8R2VMKc029606@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rmacklem    2010-09-27 02:30:56 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/fs/nfsserver     nfs_nfsdstate.c 
  Log:
  SVN rev 213191 on 2010-09-27 02:30:56Z by rmacklem
  
  MFC: r212443
  This patch applies one of the two fixes suggested by
  zack.kirsch at isilon.com for a race between nfsrv_freeopen()
  and nfsrv_getlockfile() in the experimental NFS server that
  he found during testing. Although nfsrv_freeopen() holds a
  sleep lock on the lock file structure when called with
  cansleep != 0, nfsrv_getlockfile() could still search the
  list, once it acquired the NFSLOCKSTATE() mutex. I believe
  that acquiring the mutex in nfsrv_freeopen() fixes the race.
  
  Revision   Changes    Path
  1.10.2.12  +6 -1      src/sys/fs/nfsserver/nfs_nfsdstate.c



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