summaryrefslogtreecommitdiff
path: root/fs/cifs/connect.c
AgeCommit message (Collapse)AuthorFilesLines
2005-11-12[CIFS] Cleanup sparse warnings for unicode little endian castsSteve French1-50/+41
Following Shaggy's suggestion, do a better job on the unicode string handling routines in cifs in specifying that the wchar_t are really little endian widechars (__le16). Signed-off-by: Steve French <sfrench@us.ibm.com>
2005-11-11[CIFS] Reserve upcall IDX value for CIFS with connector header and addSteve French1-0/+1
Kconfig option for CIFS upcall. Signed-off-by: Steve French <sfrench@us.ibm.com>
2005-11-07[PATCH] kfree cleanup: fsJesper Juhl1-54/+27
This is the fs/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in fs/. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-21Merge with /pub/scm/linux/kernel/git/sfrench/cifs-2.6.git/Steve French1-37/+182
2005-10-12[CIFS] CIFS Stats improvementsSteve French1-0/+3
New cifs_writepages routine was not updated bytes written in cifs stats. Also added ability to clear /proc/fs/cifs/Stats by writing (0 or 1) to it. Signed-off-by: Steve French <sfrench@us.ibm.com>
2005-10-11[CIFS] Do not shrink tcp sndbuf/rcvbuf from their defaultsSteve French1-8/+10
Signed-off-by: Steve French <sfrench@us.ibm.com>
2005-10-10[CIFS] Fix rsize calculation so that large readx flag is checked.Steve French1-5/+24
Signed-off-by: Steve French (sfrench@us.ibm.com)
2005-10-06CIFS: Allow wsize to exceed CIFSMaxBufSizeSteve French1-1/+1
This allows cifs_writepages to send data in larger chunks from the page cache, without requiring larger memory allocations in other cases. Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
2005-10-04[CIFS] Add writepages support to shrink memory usage on writes,Steve French1-0/+4
eliminate the double copy, and improve cifs write performance and help the server by upping the typical write size from 4K to 16K (or even larger if wsize set explicitly) for servers which support this. Part 1 of 2 Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
2005-09-23[PATCH] cifs: Add support for suspendSteve French1-0/+2
cifsd had been preventing software suspend from completing. Signed-off-by: pavel@suse.de Signed-off-by: Steve French <sfrench@us.ibm.com> lightly modified Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-23[CIFS] Various minor bigendian fixes and sparse level 2 warning message fixesSteve French1-13/+25
Most important of these fixes mapchars on bigendian and a few statfs fields Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com)
2005-09-10[PATCH] fs: fix-up schedule_timeout() usageNishanth Aravamudan1-4/+2
Use schedule_timeout_{,un}interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Also use helper functions to convert between human time units and jiffies rather than constant HZ division to avoid rounding errors. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-08[PATCH] fs: convert kcalloc to kzallocPekka Enberg1-41/+41
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-31[CIFS] Add support for legacy servers part 4Steve French1-1/+1
Fix WriteX support for old servers which do not support large files. Signed-off-by: Steve French <sfrench@us.ibm.com>
2005-08-31[CIFS] Add nolock synonym (ala nfs) for nobrl to disable sending byte rangeSteve French1-1/+2
locks remotely. Signed-off-by: Steve French (sfrench@us.ibm.com)
2005-08-31[CIFS] Add support for suspendSteve French1-0/+2
cifsd had been preventing software suspend from completing. Signed-off-by: pavel@suse.de Signed-off-by: Steve French <sfrench@us.ibm.com> lightly modified --- fs/cifs/CHANGES | 3 ++- fs/cifs/cifsfs.c | 4 ++++ fs/cifs/connect.c | 2 ++ 3 files changed, 8 insertions(+), 1 deletions(-)
2005-08-24[CIFS] Support for mounting to older servers part 2. Add support forSteve French1-2/+3
legacy getattr (lookup). Signed-off-by: Steve French (sfrench@us.ibm.com)
2005-08-23[CIFS] Support for mounting to older, pre-CIFS servers added. ThisSteve French1-9/+48
allows specifying an RFC1001 target "called" name (netbios name of the server, which can now be pecified as mount option "servernetbiosname" but will eventually be passed in automatically on retry of host down error messages caused when server refuses to handle default server name and can not handle port 445). This is an important step, but additional testing and fixup is needed to add remaining function needed for these. Signed-off-by: Steve French (sfrench@us.ibm.com)
2005-08-19[CIFS] Finish cifs mount option which requests case insensitive pathSteve French1-2/+7
name matching. Signed-off-by: Steve French (sfrench@us.ibm.com)
2005-08-19[CIFS] Add mount option for disabling sending byte range lock requestsSteve French1-1/+13
over the wire (to help the case when applications break with cifs mandatory lock behavior. Add part one of mount option for requesting case insensitive path name matching. Signed-off-by: Steve French (sfrench@us.ibm.com)
2005-08-18[CIFS] rmmod cifs can oops if done soon after the last cifs unmountSteve French1-7/+18
Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com)
2005-08-17[CIFS] Ensure that cifs multiplex ids do not collide.Steve French1-0/+9
Signed-off-by: Steve French (sfrench@us.ibm.com)
2005-07-15[CIFS] Add compat with SFU (part 1)Steve French1-0/+7
This should help the case of creating fifos and other special files to servers which do not support the Unix extensions. Signed-off-by: Steve French (sfrench@us.ibm.com) Thanks to Martin Koeppe for his suggestions and good analysis
2005-06-23[CIFS] Fix typo in POSIX SetFSInfo callSteve French1-1/+1
Signed-off-by: Steve French (sfrench@us.ibm.com)
2005-06-23[CIFS] POSIX extensions, SetFSInfo addedJeremy Allison1-0/+20
Signed-off-by: Steve French@sfrench@us.ibm.com Signed-off-by: Jeremy Allison (jra@samba.org)
2005-04-29[PATCH] cifs: Do not sleep interruptible after socket connect failureSteve French1-2/+1
.. since it can be due to pending kill. Update readme information to better describe cifs umount Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-29[PATCH] cifs: Do not init smb requests or block when sending requestsSteve French1-3/+37
if cifsd thread is no longer running to demultixplex responses. Do not send FindClose request when FindFirst failed without reaching end of search. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-29[PATCH] cifs: handle termination of cifs oplockd kernel threadSteve French1-5/+6
Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-29[PATCH] cifs: Handle case of multiple trans2 responses for one SMB request ↵Steve French1-9/+10
(part 2 of 2) Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-29[PATCH] cifs: Handle multiple response transact2 part 1 of 2Steve French1-103/+245
Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-29[PATCH] cifs: Ease memory pressure, do not use large buffers in byte range ↵Steve French1-146/+149
lock requests. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-29[PATCH] cifs: Better handle errors on second socket recv message callSteve French1-6/+25
Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-29[PATCH] cifs: improve check for search entry going beyond end of SMB transactSteve French1-23/+39
Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-29[PATCH] cifs: remove cifs_kcalloc and check for NULL return on kcalloc in ↵Steve French1-55/+69
session initialization Suggested by: Adrian Bunk and Dave Miller Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-29[PATCH] cifs: Missing initialization for largeBuf flag left out of previous ↵Steve French1-0/+4
changeset Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-29[PATCH] cifs: Do not use large smb buffers in response pathSteve French1-27/+53
unless response is larger than 256 bytes. This cuts more than 1/3 of the large memory allocations that cifs does and should be a huge help to memory pressure under stress. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-29[PATCH] cifs: Do not interpret oplock break responses as responses to an ↵Steve French1-3/+7
unrelated command .. even if the multiplex ids match. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-29[PATCH] cifs: character mapping of special characters (part 3 of 3)Steve French1-12/+13
Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-29[PATCH] cifs: Add new mount parm mapcharsSteve French1-0/+7
For handling seven special characters that shells use for filenames. This first parts implements conversions from Unicode. Signed-off-by: Steve French Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-29[PATCH] cifs: Fix multiuser packet signing to use the right sequence number ↵Steve French1-8/+20
and mac session key Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-04-17Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+3064
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!