1. 01 6月, 2022 1 次提交
    • B
      NFSv4: Fix free of uninitialized nfs4_label on referral lookup. · c3ed2227
      Benjamin Coddington 提交于
      Send along the already-allocated fattr along with nfs4_fs_locations, and
      drop the memcpy of fattr.  We end up growing two more allocations, but this
      fixes up a crash as:
      
      PID: 790    TASK: ffff88811b43c000  CPU: 0   COMMAND: "ls"
       #0 [ffffc90000857920] panic at ffffffff81b9bfde
       #1 [ffffc900008579c0] do_trap at ffffffff81023a9b
       #2 [ffffc90000857a10] do_error_trap at ffffffff81023b78
       #3 [ffffc90000857a58] exc_stack_segment at ffffffff81be1f45
       #4 [ffffc90000857a80] asm_exc_stack_segment at ffffffff81c009de
       #5 [ffffc90000857b08] nfs_lookup at ffffffffa0302322 [nfs]
       #6 [ffffc90000857b70] __lookup_slow at ffffffff813a4a5f
       #7 [ffffc90000857c60] walk_component at ffffffff813a86c4
       #8 [ffffc90000857cb8] path_lookupat at ffffffff813a9553
       #9 [ffffc90000857cf0] filename_lookup at ffffffff813ab86b
      Suggested-by: NTrond Myklebust <trondmy@hammerspace.com>
      Fixes: 9558a007 ("NFS: Remove the label from the nfs4_lookup_res struct")
      Signed-off-by: NBenjamin Coddington <bcodding@redhat.com>
      Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
      c3ed2227
  2. 18 5月, 2022 4 次提交
  3. 26 4月, 2022 1 次提交
  4. 08 4月, 2022 1 次提交
  5. 25 3月, 2022 1 次提交
  6. 14 3月, 2022 2 次提交
  7. 26 2月, 2022 3 次提交
  8. 15 2月, 2022 1 次提交
  9. 08 2月, 2022 1 次提交
  10. 13 1月, 2022 3 次提交
  11. 07 1月, 2022 6 次提交
  12. 06 11月, 2021 10 次提交
  13. 03 11月, 2021 1 次提交
  14. 28 10月, 2021 1 次提交
    • T
      NFSv4: Fix a regression in nfs_set_open_stateid_locked() · 01d29f87
      Trond Myklebust 提交于
      If we already hold open state on the client, yet the server gives us a
      completely different stateid to the one we already hold, then we
      currently treat it as if it were an out-of-sequence update, and wait for
      5 seconds for other updates to come in.
      This commit fixes the behaviour so that we immediately start processing
      of the new stateid, and then leave it to the call to
      nfs4_test_and_free_stateid() to decide what to do with the old stateid.
      
      Fixes: b4868b44 ("NFSv4: Wait for stateid updates after CLOSE/OPEN_DOWNGRADE")
      Signed-off-by: NTrond Myklebust <trond.myklebust@hammerspace.com>
      01d29f87
  15. 21 10月, 2021 2 次提交
  16. 20 10月, 2021 1 次提交
  17. 04 10月, 2021 1 次提交