summaryrefslogtreecommitdiffstats
path: root/fs/cifs/misc.c
Commit message (Collapse)AuthorAgeFilesLines
* [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] Add extended stats (STATS2) for total buffer allocations forSteve French2005-12-031-0/+7
| | | | | | better performance debugging. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Use fsuid (fsgid) more consistently instead of uid/gid inSteve French2005-12-011-4/+4
| | | | | | | | | assembling smb requests when setuids and Linux protocol extensions enabled and in checking more matching sessions in multiuser mount mode. Pointed out by Shaggy. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix umount --force to wake up the pending response queue, not justSteve French2005-11-291-5/+12
| | | | | | | | the request queue. Also periodically wakeup response_q so threads can check if stuck requests have timed out. Workaround Windows server illegal smb length on transact2 findfirst response. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Cleanup sparse warnings for unicode little endian castsSteve French2005-11-111-1/+1
| | | | | | | | 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>
* [PATCH] kfree cleanup: fsJesper Juhl2005-11-071-10/+5
| | | | | | | | | | 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>
* [CIFS] Fix byte range locking to Windows when Windows server returnsSteve French2005-10-101-7/+15
| | | | | illegal RFC1001 length (which had caused the lock to block forever until killed).
* [CIFS] Various minor bigendian fixes and sparse level 2 warning message fixesSteve French2005-09-221-5/+7
| | | | | | | 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 nine. statfs (df and du) is nowSteve French2005-09-211-2/+1
| | | | | | | | functional, and the length check is fixed so readdir does not throw a warning message when windows me messes up the response to FindFirst of an empty dir (with only . and ..). Signed-off-by: Steve French (sfrench@us.ibm.com)
* CIFS: Reduce CONFIG_CIFS_STATS ifdefsSteve French2005-08-241-3/+1
| | | | | | | | Make cifs_stats code conditional in the header files to avoid ifdefs in the main code. Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Finish cifs mount option which requests case insensitive pathSteve French2005-08-191-0/+2
| | | | | | name matching. Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] Ensure that cifs multiplex ids do not collide.Steve French2005-08-171-7/+77
| | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] Fix path name conversion for long filenames when mapchars mountSteve French2005-07-141-0/+1
| | | | | | option was specified at mount time. Signed-off-by: Steve French (sfrench@us.ibm.com)
* [CIFS] missing break needed to handle < when mount option "mapchars" specifiedSteve French2005-05-171-0/+1
| | | | Signed-off-by: Steve French (sfrench@us.ibm.com)
* [PATCH] cifs: handle termination of cifs oplockd kernel threadSteve French2005-04-281-10/+15
| | | | | Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] cifs: Fix PPC64 compile errorSteve French2005-04-281-8/+8
| | | | | | | | .. and do not double endian convert the special characters whem mounted with mapchars mount parm. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] cifs: finish up of special character mapping capable unicode ↵Steve French2005-04-281-5/+75
| | | | | | | conversion routine part 2 of 3 Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] cifs: Add new mount parm mapcharsSteve French2005-04-281-0/+69
| | | | | | | | | 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>
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-161-0/+516
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!