1. 29 9月, 2012 1 次提交
  2. 29 6月, 2012 1 次提交
  3. 24 5月, 2012 1 次提交
    • T
      NFSv4.1: Fix session initialisation races · 7b38c368
      Trond Myklebust 提交于
      Session initialisation is not complete until the lease manager
      has run. We need to ensure that both nfs4_init_session and
      nfs4_init_ds_session do so, and that they check for any resulting
      errors in clp->cl_cons_state.
      
      Only after this is done, can nfs4_ds_connect check the contents
      of clp->cl_exchange_flags.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      Cc: Andy Adamson <andros@netapp.com>
      7b38c368
  4. 23 5月, 2012 1 次提交
  5. 20 5月, 2012 3 次提交
  6. 27 4月, 2012 1 次提交
  7. 12 3月, 2012 1 次提交
    • T
      NFS: Fix a number of sparse warnings · 17280175
      Trond Myklebust 提交于
      Fix a number of "warning: symbol 'foo' was not declared. Should it be
      static?" conditions.
      
      Fix 2 cases of "warning: Using plain integer as NULL pointer"
      
      fs/nfs/delegation.c:263:31: warning: restricted fmode_t degrades to integer
        - We want to allow upgrades to a WRITE delegation, but should otherwise
          consider servers that hand out duplicate delegations to be borken.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      17280175
  8. 07 2月, 2012 2 次提交
  9. 01 2月, 2012 2 次提交
  10. 13 1月, 2012 1 次提交
  11. 13 7月, 2011 4 次提交
  12. 30 5月, 2011 2 次提交
  13. 29 5月, 2011 2 次提交
  14. 12 5月, 2011 1 次提交
  15. 25 3月, 2011 1 次提交
  16. 12 3月, 2011 4 次提交
  17. 11 3月, 2011 1 次提交
  18. 26 1月, 2011 1 次提交
    • J
      NFS4: Avoid potential NULL pointer dereference in decode_and_add_ds(). · ad3d2eed
      Jesper Juhl 提交于
      On Mon, 17 Jan 2011, Mi Jinlong wrote:
      
      >
      >
      > Jesper Juhl:
      > > strrchr() can return NULL if nothing is found. If this happens we'll
      > > dereference a NULL pointer in
      > > fs/nfs/nfs4filelayoutdev.c::decode_and_add_ds().
      > >
      > > I tried to find some other code that guarantees that this can never
      > > happen but I was unsuccessful. So, unless someone else can point to some
      > > code that ensures this can never be a problem, I believe this patch is
      > > needed.
      > >
      > > While I was changing this code I also noticed that all the dprintk()
      > > statements, except one, start with "%s:". The one missing the ":" I added
      > > it to.
      >
      >   Maybe another one also should be changed at decode_and_add_ds() at line 243:
      >
      >    243  printk("%s Decoded address and port %s\n", __func__, buf);
      >
      Missed that one. Thanks.
      Signed-off-by: NJesper Juhl <jj@chaosbits.net>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      ad3d2eed
  19. 25 10月, 2010 1 次提交