summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
Commit message (Collapse)AuthorAgeFilesLines
* [CIFS] Fix typos in previous fixSteve French2006-05-301-3/+3
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] fix memory leak in cifs session info struct on reconnectSteve French2006-05-301-6/+82
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Do not limit the length of share names (was 100 for whole UNC name)Steve French2006-05-301-3/+6
| | | | | | during mount. Especially important for some non-Western languages. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix compile error when CONFIG_CIFS_EXPERIMENTAL is undefinedSteve French2006-04-241-1/+4
| | | | | Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Readdir fixes to allow search to start at arbitrary positionSteve French2006-04-221-1/+4
| | | | | | | | | in directory Also includes first part of fix to compensate for servers which forget to return . and .. as well as updates to changelog and cifs readme. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix slow oplock break response when mounts to differentSteve French2006-03-031-1/+1
| | | | | | servers have same tid and we try to match oplock break to wrong tid. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Workaround various server bugs found in testing at connectathonSteve French2006-03-031-0/+8
| | | | | | | | | - slow down negprot 1ms during mount when RFC1001 over port 139 to give buggy servers time to clear sess_init - remap some plausible but incorrect SMB return codes to the right ones in truncate and hardlink paths Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Make POSIX CIFS Extensions SetFSInfo match exactly what we wantSteve French2006-03-021-15/+22
| | | | | | not just the posix path feature. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix large (ie over 64K for MaxCIFSBufSize) buffer case for wrappingSteve French2006-02-241-1/+3
| | | | | | bcc on read response and for wrapping sessionsetup maxbufsize field Signed-off-by: Steve French <sfrench@us.ibm.com>
* Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.gitSteve French2006-02-221-4/+4
|\ | | | | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [PATCH] CIFS: CIFSSMBRead was returning an invalid pointer in buf on socket ↵Steve French2006-02-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | error Thanks to Adrian Bunk for debugging the problem and to Shaggy for helping find the solution. Also added a fix for 64K pages we found in loosely-related testing Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [CIFS] SessionSetup cleanup part 2Steve French2006-02-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | The cifs session setup code has three cases, and a fourth for backlevel LANMAN2 style session setup needed to be added. This new session setup implmentation will eventually replace the other three and should be easier to read while fixing a few minor problems (not setting the LARGE READ/WRITEX flags when NTLMSSP was negotiated for example) and adding support for NTLMv2 (which will be added with the next patch. In the meantime, this code is marked in an CONFIG_CIFS_EXPERIMENTAL block and will not be turned on by default until it is tested against more server types. Signed-off-by: Steve French <sfrench@us.ibm.com>
* | [CIFS] Cleanup NTLMSSP session setup handlingSteve French2006-02-091-28/+14
|/ | | | | | Fix to hash NTLMv2 properly will follow. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Remove compiler warningSteve French2006-01-271-1/+2
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Make cifs default wsize match what we actually want to send (52KSteve French2006-01-241-1/+9
| | | | | | | | | | typically - header + 13 pages). Forgetting to set wsize on the mount command costs more than 10% on large write (can be much more) so this makes a saner default. We still shrink this default smaller if server can not support it. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix CIFS to recognize share mode securitySteve French2006-01-131-5/+22
| | | | | | | | | Fix Samba bugzilla bug 3301 In share mode encrypted password must be sent on tree connection (in our case only the NTLM password is sent, not the older LANMAN one). Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Add worker function for Get ACL cifs styleSteve French2006-01-121-0/+7
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Avoid extra large buffer allocation (and memcpy) in cifs_readpagesSteve French2005-12-121-1/+1
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Kerberos and CIFS ACL support part 1Steve French2005-12-011-7/+46
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Cleanup sparse warnings for unicode little endian castsSteve French2005-11-111-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>
* [CIFS] Reserve upcall IDX value for CIFS with connector header and addSteve French2005-11-101-0/+1
| | | | | | Kconfig option for CIFS upcall. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [PATCH] kfree cleanup: fsJesper Juhl2005-11-071-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>
* Merge with /pub/scm/linux/kernel/git/sfrench/cifs-2.6.git/Steve French2005-10-211-37/+182
|\
| * [CIFS] CIFS Stats improvementsSteve French2005-10-111-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>
| * [CIFS] Do not shrink tcp sndbuf/rcvbuf from their defaultsSteve French2005-10-101-8/+10
| | | | | | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [CIFS] Fix rsize calculation so that large readx flag is checked.Steve French2005-10-101-5/+24
| | | | | | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
| * CIFS: Allow wsize to exceed CIFSMaxBufSizeSteve French2005-10-051-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>
| * [CIFS] Add writepages support to shrink memory usage on writes,Steve French2005-10-031-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>
| * [CIFS] Various minor bigendian fixes and sparse level 2 warning message fixesSteve French2005-09-221-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)
| * [CIFS] Add support for legacy servers part 4Steve French2005-08-301-1/+1
| | | | | | | | | | | | | | Fix WriteX support for old servers which do not support large files. Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [CIFS] Add nolock synonym (ala nfs) for nobrl to disable sending byte rangeSteve French2005-08-301-1/+2
| | | | | | | | | | | | locks remotely. Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Add support for suspendSteve French2005-08-301-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(-)
| * [CIFS] Support for mounting to older servers part 2. Add support forSteve French2005-08-231-2/+3
| | | | | | | | | | | | legacy getattr (lookup). Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Support for mounting to older, pre-CIFS servers added. ThisSteve French2005-08-221-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)
| * [CIFS] Finish cifs mount option which requests case insensitive pathSteve French2005-08-191-2/+7
| | | | | | | | | | | | name matching. Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Add mount option for disabling sending byte range lock requestsSteve French2005-08-181-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)
| * [CIFS] rmmod cifs can oops if done soon after the last cifs unmountSteve French2005-08-181-7/+18
| | | | | | | | | | Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Ensure that cifs multiplex ids do not collide.Steve French2005-08-171-0/+9
| | | | | | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Add compat with SFU (part 1)Steve French2005-07-141-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
| * [CIFS] Fix typo in POSIX SetFSInfo callSteve French2005-06-231-1/+1
| | | | | | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] POSIX extensions, SetFSInfo addedJeremy Allison2005-06-221-0/+20
| | | | | | | | | | Signed-off-by: Steve French@sfrench@us.ibm.com Signed-off-by: Jeremy Allison (jra@samba.org)
* | [PATCH] cifs: Add support for suspendSteve French2005-09-231-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>
* | [PATCH] fs: fix-up schedule_timeout() usageNishanth Aravamudan2005-09-101-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>
* | [PATCH] fs: convert kcalloc to kzallocPekka Enberg2005-09-071-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>
* [PATCH] cifs: Do not sleep interruptible after socket connect failureSteve French2005-04-281-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>
* [PATCH] cifs: Do not init smb requests or block when sending requestsSteve French2005-04-281-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>
* [PATCH] cifs: handle termination of cifs oplockd kernel threadSteve French2005-04-281-5/+6
| | | | | Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] cifs: Handle case of multiple trans2 responses for one SMB request ↵Steve French2005-04-281-9/+10
| | | | | | | (part 2 of 2) Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] cifs: Handle multiple response transact2 part 1 of 2Steve French2005-04-281-103/+245
| | | | | Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] cifs: Ease memory pressure, do not use large buffers in byte range ↵Steve French2005-04-281-146/+149
| | | | | | | lock requests. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
OpenPOWER on IntegriCloud