1. 17 5月, 2012 1 次提交
  2. 24 3月, 2012 8 次提交
  3. 22 3月, 2012 2 次提交
  4. 30 10月, 2011 1 次提交
  5. 25 10月, 2011 2 次提交
  6. 20 10月, 2011 2 次提交
    • J
      cifs: add cifs_async_readv · e28bc5b1
      Jeff Layton 提交于
      ...which will allow cifs to do an asynchronous read call to the server.
      The caller will allocate and set up cifs_readdata for each READ_AND_X
      call that should be issued on the wire. The pages passed in are added
      to the pagecache, but not placed on the LRU list yet (as we need the
      page->lru to keep the pages on the list in the readdata).
      
      When cifsd identifies the mid, it will see that there is a special
      receive handler for the call, and use that to receive the rest of the
      frame. cifs_readv_receive will then marshal up a kvec array with
      kmapped pages from the pagecache, which eliminates one copy of the
      data. Once the data is received, the pages are added to the LRU list,
      set uptodate, and unlocked.
      Reviewed-and-Tested-by: NPavel Shilovsky <piastry@etersoft.ru>
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      e28bc5b1
    • J
      cifs: add a callback function to receive the rest of the frame · 44d22d84
      Jeff Layton 提交于
      In order to handle larger SMBs for readpages and other calls, we want
      to be able to read into a preallocated set of buffers. Rather than
      changing all of the existing code to preallocate buffers however, we
      instead add a receive callback function to the MID.
      
      cifsd will call this function once the mid_q_entry has been identified
      in order to receive the rest of the SMB. If the mid can't be identified
      or the receive pointer is unset, then the standard 3rd phase receive
      function will be called.
      Reviewed-and-Tested-by: NPavel Shilovsky <piastry@etersoft.ru>
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      44d22d84
  7. 17 10月, 2011 1 次提交
    • S
      cifs: Call id to SID mapping functions to change owner/group (try #4 repost) · a5ff3769
      Shirish Pargaonkar 提交于
      Now build security descriptor to change either owner or group at the
      server.  Initially security descriptor was built to change only
      (D)ACL, that functionality has been extended.
      
      When either an Owner or a Group of a file object at the server is changed,
      rest of security descriptor remains same (DACL etc.).
      
      To set security descriptor, it is necessary to open that file
      with permission bits of either WRITE_DAC if DACL is being modified or
      WRITE_OWNER (Take Ownership) if Owner or Group is being changed.
      
      It is the server that decides whether a set security descriptor with
      either owner or group change succeeds or not.
      Signed-off-by: NShirish Pargaonkar <shirishpargaonkar@gmail.com>
      Signed-off-by: NSteve French <smfrench@gmail.com>
      a5ff3769
  8. 14 10月, 2011 1 次提交
  9. 13 10月, 2011 2 次提交
    • S
      cifs: Add mount options for backup intent (try #6) · 3d3ea8e6
      Shirish Pargaonkar 提交于
      Add mount options backupuid and backugid.
      
      It allows an authenticated user to access files with the intent to back them
      up including their ACLs, who may not have access permission but has
      "Backup files and directories user right" on them (by virtue of being part
      of the built-in group Backup Operators.
      
      When mount options backupuid is specified, cifs client restricts the
      use of backup intents to the user whose effective user id is specified
      along with the mount option.
      
      When mount options backupgid is specified, cifs client restricts the
      use of backup intents to the users whose effective user id belongs to the
      group id specified along with the mount option.
      
      If an authenticated user is not part of the built-in group Backup Operators
      at the server, access to such files is denied, even if allowed by the client.
      Signed-off-by: NShirish Pargaonkar <shirishpargaonkar@gmail.com>
      Reviewed-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NSteve French <smfrench@gmail.com>
      3d3ea8e6
    • J
      cifs: consolidate signature generating code · 826a95e4
      Jeff Layton 提交于
      We have two versions of signature generating code. A vectorized and
      non-vectorized version. Eliminate a large chunk of cut-and-paste
      code by turning the non-vectorized version into a wrapper around the
      vectorized one.
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NSteve French <smfrench@gmail.com>
      826a95e4
  10. 08 7月, 2011 1 次提交
  11. 07 7月, 2011 1 次提交
  12. 25 6月, 2011 2 次提交
  13. 27 5月, 2011 4 次提交
  14. 26 5月, 2011 1 次提交
  15. 24 5月, 2011 1 次提交
  16. 23 5月, 2011 3 次提交
  17. 19 5月, 2011 7 次提交