1. 28 9月, 2016 10 次提交
  2. 23 9月, 2016 6 次提交
  3. 20 9月, 2016 5 次提交
  4. 12 9月, 2016 1 次提交
  5. 04 9月, 2016 1 次提交
  6. 29 8月, 2016 3 次提交
  7. 06 8月, 2016 1 次提交
  8. 26 7月, 2016 1 次提交
  9. 25 7月, 2016 4 次提交
  10. 21 7月, 2016 1 次提交
  11. 20 7月, 2016 2 次提交
  12. 01 7月, 2016 2 次提交
  13. 29 6月, 2016 1 次提交
    • T
      NFS: Fix another OPEN_DOWNGRADE bug · e547f262
      Trond Myklebust 提交于
      Olga Kornievskaia reports that the following test fails to trigger
      an OPEN_DOWNGRADE on the wire, and only triggers the final CLOSE.
      
      	fd0 = open(foo, RDRW)   -- should be open on the wire for "both"
      	fd1 = open(foo, RDONLY)  -- should be open on the wire for "read"
      	close(fd0) -- should trigger an open_downgrade
      	read(fd1)
      	close(fd1)
      
      The issue is that we're missing a check for whether or not the current
      state transitioned from an O_RDWR state as opposed to having transitioned
      from a combination of O_RDONLY and O_WRONLY.
      Reported-by: NOlga Kornievskaia <aglo@umich.edu>
      Fixes: cd9288ff ("NFSv4: Fix another bug in the close/open_downgrade code")
      Cc: stable@vger.kernel.org # 2.6.33+
      Signed-off-by: NTrond Myklebust <trond.myklebust@primarydata.com>
      Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
      e547f262
  14. 25 6月, 2016 2 次提交