1. 03 5月, 2008 1 次提交
  2. 30 4月, 2008 1 次提交
  3. 29 4月, 2008 3 次提交
  4. 28 4月, 2008 1 次提交
  5. 26 4月, 2008 2 次提交
  6. 25 4月, 2008 5 次提交
  7. 19 4月, 2008 2 次提交
    • S
      [CIFS] Fix UNC path prefix on QueryUnixPathInfo to have correct slash · 076d8423
      Steve French 提交于
      When a share was in DFS and the server was Unix/Linux, we were sending paths of the form
          \\server\share/dir/file
      rather than
          //server/share/dir/file
      
      There was some discussion between me and jra over whether we should use
          /server/share/dir/file
      as MS sometimes says - but the documentation for this claims it should be
      doubleslash for this type of UNC-like path format and that works, so leaving
      it as doubleslash but converting the \ to / in the the //server/share portion.
      
      This gets Samba to now correctly return STATUS_PATH_NOT_COVERED when it is
      supposed to (Windows already did since the direction of the slash was not an issue
      for them).  Still need another minor change to fully enable DFS (need to finish
      some chages to SMBGetDFSRefer
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      076d8423
    • S
      [CIFS] Reserve new proxy cap for WAFS · 2302aca8
      Steve French 提交于
      New WAFS filer uses ioctls which are shown to be available
      on a share by querying this info level
      Acked-by: NSam Liddicott <sam@liddicott.com>
      Signed-off-by: NStevef French <sfrench@us.ibm.com>
      2302aca8
  8. 18 4月, 2008 1 次提交
  9. 16 4月, 2008 2 次提交
  10. 10 4月, 2008 2 次提交
  11. 05 4月, 2008 1 次提交
  12. 31 3月, 2008 1 次提交
  13. 28 3月, 2008 1 次提交
  14. 23 3月, 2008 1 次提交
  15. 15 3月, 2008 2 次提交
    • S
      [CIFS] file create with acl support enabled is slow · 8b1327f6
      Steve French 提交于
      Shirish Pargaonkar noted:
      With cifsacl mount option, when a file is created on the Windows server,
      exclusive oplock is broken right away because the get cifs acl code
      again opens the file to obtain security descriptor.
      The client does not have the newly created file handle or inode in any
      of its lists yet so it does not respond to oplock break and server waits for
      its duration and then responds to the second open. This slows down file
      creation signficantly.  The fix is to pass the file descriptor to the get
      cifsacl code wherever available so that get cifs acl code does not send
      second open (NT Create ANDX) and oplock is not broken.
      
      CC: Shirish Pargaonkar <shirishp@us.ibm.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      8b1327f6
    • S
      [CIFS] Fix mtime on cp -p when file data cached but written out too late · 50531444
      Steve French 提交于
      Kukks noticed that cp -p can write out file data too late, after the timestamp
      is already set.  This was introduced as an unintentional sideeffect of the change
      in an earlier patch (see below) which fixed some delayed return code propagation.
      
      cea21805
      Author: Jeff Layton <jlayton@redhat.com>
      Date:   Tue Nov 20 23:19:03 2007 +0000
      Acked-by: NShirish Pargaonkar <shirishp@us.ibm.com>
      Acked-by: NJeff Layton <jlayton@redhat.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      50531444
  16. 12 3月, 2008 1 次提交
  17. 11 3月, 2008 1 次提交
  18. 09 3月, 2008 1 次提交
  19. 26 2月, 2008 2 次提交
  20. 18 2月, 2008 1 次提交
  21. 16 2月, 2008 4 次提交
  22. 15 2月, 2008 2 次提交
  23. 14 2月, 2008 1 次提交
    • S
      [CIFS] fixup prefixpaths which contain multiple path components · 03a143c9
      Steve French 提交于
      Currently, when we get a prefixpath as part of mount, the kernel only
      changes the first character to be a '/' or '\' depending on whether
      posix extensions are enabled. This is problematic as it expects
      mount.cifs to pass in the correct delimiter in the rest of the
      prefixpath. But, mount.cifs may not know *what* the correct delimiter
      is. It's a chicken and egg problem.
      
      Note that mount.cifs should not do conversion of the
      prefixpath - if we want posix behavior then '\' is legal in a path
      (and we have had bugs in the distant path to prove to me that
      customers sometimes have apps that require '\').  The kernel code
      assumes that the path passed in is posix (and current code will handle
      the first path component fine but was broken for Windows mounts
      for "deep" prefixpaths unless the user specified a prefixpath with '\'
      deep in it.   So e.g. with current kernel code:
      
      1) mount to //server/share/dir1 will work to all server types
      2) mount to //server/share/dir1/subdir1 will work to Samba
      3) mount to //server/share/dir1\\subdir1 will work to Windows
      
      But case two would fail to Windows without the fix.
      With the kernel cifs module fix case two now works.
      
      First analyzed by Jeff Layton and Simo Sorce
      
      CC: Jeff Layton <jlayton@redhat.com>
      CC: Simo Sorce <simo@samba.org>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      03a143c9
  24. 13 2月, 2008 1 次提交