1. 08 10月, 2010 3 次提交
    • S
      [CIFS] Various small checkpatch cleanups · 13cd4b7f
      Steve French 提交于
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      13cd4b7f
    • J
      cifs: add "multiuser" mount option · 0eb8a132
      Jeff Layton 提交于
      This allows someone to declare a mount as a multiuser mount.
      
      Multiuser mounts also imply "noperm" since we want to allow the server
      to handle permission checking. It also (for now) requires Kerberos
      authentication. Eventually, we could expand this to other authtypes, but
      that requires a scheme to allow per-user credential stashing in some
      form.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      0eb8a132
    • J
      cifs: add routines to build sessions and tcons on the fly · 9d002df4
      Jeff Layton 提交于
      This patch is rather large, but it's a bit difficult to do piecemeal...
      
      For non-multiuser mounts, everything will basically work as it does
      today. A call to cifs_sb_tlink will return the "master" tcon link.
      
      Turn the tcon pointer in the cifs_sb into a radix tree that uses the
      fsuid of the process as a key. The value is a new "tcon_link" struct
      that contains info about a tcon that's under construction.
      
      When a new process needs a tcon, it'll call cifs_sb_tcon. That will
      then look up the tcon_link in the radix tree. If it exists and is
      valid, it's returned.
      
      If it doesn't exist, then we stuff a new tcon_link into the tree and
      mark it as pending and then go and try to build the session/tcon.
      If that works, the tcon pointer in the tcon_link is updated and the
      pending flag is cleared.
      
      If the construction fails, then we set the tcon pointer to an ERR_PTR
      and clear the pending flag.
      
      If the radix tree is searched and the tcon_link is marked pending
      then we go to sleep and wait for the pending flag to be cleared.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      9d002df4
  2. 07 10月, 2010 5 次提交
  3. 30 9月, 2010 22 次提交
  4. 29 9月, 2010 8 次提交
  5. 28 9月, 2010 2 次提交