1. 18 Nov, 2008 3 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 · 4e14e833
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
        prevent cifs_writepages() from skipping unwritten pages
        Fixed parsing of mount options when doing DFS submount
        [CIFS] Fix check for tcon seal setting and fix oops on failed mount from earlier patch
        [CIFS] Fix build break
        cifs: reinstate sharing of tree connections
        [CIFS] minor cleanup to cifs_mount
        cifs: reinstate sharing of SMB sessions sans races
        cifs: disable sharing session and tcon and add new TCP sharing code
        [CIFS] clean up server protocol handling
        [CIFS] remove unused list, add new cifs sock list to prepare for mount/umount fix
        [CIFS] Fix cifs reconnection flags
        [CIFS] Can't rely on iov length and base when kernel_recvmsg returns error
      4e14e833
    • Dave Kleikamp's avatar
      prevent cifs_writepages() from skipping unwritten pages · b066a48c
      Dave Kleikamp authored
      Fixes a data corruption under heavy stress in which pages could be left
      dirty after all open instances of a inode have been closed.
      
      In order to write contiguous pages whenever possible, cifs_writepages()
      asks pagevec_lookup_tag() for more pages than it may write at one time.
      Normally, it then resets index just past the last page written before calling
      pagevec_lookup_tag() again.
      
      If cifs_writepages() can't write the first page returned, it wasn't resetting
      index, and the next call to pagevec_lookup_tag() resulted in skipping all of
      the pages it previously returned, even though cifs_writepages() did nothing
      with them.  This can result in data loss when the file descriptor is about
      to be closed.
      
      This patch ensures that index gets set back to the next returned page so
      that none get skipped.
      Signed-off-by: default avatarDave Kleikamp <shaggy@linux.vnet.ibm.com>
      Acked-by: default avatarJeff Layton <jlayton@redhat.com>
      Cc: Shirish S Pargaonkar <shirishp@us.ibm.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      b066a48c
    • Igor Mammedov's avatar
      Fixed parsing of mount options when doing DFS submount · 2c55608f
      Igor Mammedov authored
      Since these hit the same routines, and are relatively small, it is easier to review
      them as one patch.
      
      Fixed incorrect handling of the last option in some cases
      Fixed prefixpath handling convert path_consumed into host depended string length (in bytes)
      Use non default separator if it is provided in the original mount options
      Acked-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarIgor Mammedov <niallain@gmail.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      2c55608f
  2. 17 Nov, 2008 12 commits
  3. 16 Nov, 2008 16 commits
  4. 15 Nov, 2008 9 commits