1. 07 1月, 2006 5 次提交
  2. 05 11月, 2005 2 次提交
    • T
      NFSv4: Fix problem with OPEN_DOWNGRADE · d530838b
      Trond Myklebust 提交于
       RFC 3530 states that for OPEN_DOWNGRADE "The share_access and share_deny
       bits specified must be exactly equal to the union of the share_access and
       share_deny bits specified for some subset of the OPENs in effect for
       current openowner on the current file.
      
       Setattr is currently violating the NFSv4 rules for OPEN_DOWNGRADE in that
       it may cause a downgrade from OPEN4_SHARE_ACCESS_BOTH to
       OPEN4_SHARE_ACCESS_WRITE despite the fact that there exists no open file
       with O_WRONLY access mode.
      
       Fix the problem by replacing nfs4_find_state() with a modified version of
       nfs_find_open_context().
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      d530838b
    • T
      NFSv4: Fix a race between open() and close() · 4cecb76f
      Trond Myklebust 提交于
       We must not remove the nfs4_state structure from the inode open lists
       before we are in sequence lock.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      4cecb76f
  3. 21 10月, 2005 2 次提交
  4. 19 10月, 2005 5 次提交
  5. 23 6月, 2005 4 次提交