summaryrefslogtreecommitdiffstats
path: root/fs/cifs/dir.c
Commit message (Collapse)AuthorAgeFilesLines
* [CIFS] Support deep tree mounts (e.g. mounts to //server/share/path)Steve French2006-09-211-8/+15
| | | | | | Samba bugzilla #4040 Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix oops in cifs_close due to unitialized lock sem and list inSteve French2006-08-151-0/+4
| | | | | | new POSIX locking code Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Add support for readdir to legacy serversSteve French2006-06-071-2/+9
| | | | | | | Fixes oops to OS/2 on ls and removes redundant NTCreateX calls to servers which do not support NT SMBs. Key operations to OS/2 work. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Support for setting up SMB sessions to legacy lanman serversSteve French2006-05-311-1/+1
|
* [CIFS] Cleanup extra whitespace in dmesg logging. Update cifs change logSteve French2006-05-311-1/+1
|
* [CIFS] Don't allow a backslash in a path componentSteve French2006-04-211-0/+14
| | | | | | | | Unless Posix paths have been negotiated, the backslash, "\", is not a valid character in a path component. Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] [CIFS] Do not take rename sem on most path based calls (duringSteve French2006-04-211-4/+0
| | | | | | | | building of full path) to avoid hang rename/readdir hang Reported by Alan Tyson Signed-off-by: Steve French <sfrench@us.ibm.com>
* Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.gitSteve French2006-03-311-4/+4
|\ | | | | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [PATCH] sem2mutex: vfs_rename_mutexArjan van de Ven2006-03-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Cc: Al Viro <viro@ftp.linux.org.uk> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [CIFS] Fix two remaining coverity scan tool warnings.Steve French2006-03-091-1/+2
| | | | | | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* | [CIFS] Convert remaining places in fs/cifs fromEric Sesterhenn2006-02-211-3/+1
|/ | | | | | | kmalloc/memset to simpler kzalloc usage Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> 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 missing permission check on setattr when noperm mount option isSteve French2005-11-291-1/+8
| | | | | | | | | | disabled. Also set mode, uid, gid better on mkdir and create for the case when Unix Extensions is not enabled and setuids is enabled. This is necessary to fix the hole in which chown could be allowed for non-root users in some cases if root mounted, and also to display the mode and uid properly in some cases. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] When file is deleted locally but later recreated on the serverSteve French2005-11-281-9/+16
| | | | | | | | fix cifs negative dentries so they are freed faster (not requiring umount or readdir e.g.) so the client recognizes the new file on the server more quickly. Signed-off-by: Steve French <sfrench@us.ibm.com>
* [CIFS] Fix mknod of block and chardev over SFU mountsSteve French2005-11-181-2/+30
| | | | Signed-off-by: Steve French <sfrench@us.ibm.com>
* Merge with /pub/scm/linux/kernel/git/sfrench/cifs-2.6.git/Steve French2005-10-211-8/+100
|\
| * [CIFS] Remove cifs_sb argument from *build_path_from_dentrySteve French2005-08-301-5/+6
| | | | | | | | | | | | | | | | This argument was added in a recent patch, but is unnecessary, since the superblock is easily obtained from the dentry. Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [CIFS] Support for legacy servers part 3 - Add support for Open and mostSteve French2005-08-241-0/+7
| | | | | | | | | | | | of Read support. Signed-off-by: Steve French <sfrench@us.ibm.com>
| * [CIFS] Finish up of case-insensitive dentry handling for cifs. ThisSteve French2005-08-221-3/+51
| | | | | | | | | | | | | | | | | | will eventually (or should eventually) be common code for jfs, smbfs, etc. but in the meantime is small enough and necessary when mounting case insensitive to Windows (nocase). Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Add missing check for path name allocation failure. Remove fourSteve French2005-08-131-3/+3
| | | | | | | | | | | | | | | | redundant null pointer checks before cifs_buf_release. Found by coverity analyzer. Signed-off-by: Steve French (sfrench@us.ibm.com)
| * [CIFS] Add compat with SFU (part 2)Steve French2005-07-211-4/+30
| | | | | | | | | | | | | | | | | | Creating FIFOs to non-Unix servers (with cifs mounts for which sfu option was specified) now works. Signed-off-by: Steve French (sfrench@us.ibm.com) Thanks to Martin Koeppe for his assistance
| * [CIFS] Add compat with SFU (part 1)Steve French2005-07-141-1/+11
| | | | | | | | | | | | | | | | | | 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] POSIX extensions, SetFSInfo addedJeremy Allison2005-06-221-5/+5
| | | | | | | | | | Signed-off-by: Steve French@sfrench@us.ibm.com Signed-off-by: Jeremy Allison (jra@samba.org)
* | [PATCH] cifs_create() fixMiklos Szeredi2005-09-071-14/+13
|/ | | | | | | | | | | | | | cifs_create() did totally the wrong thing with nd->intent.open.flags: it interpreted nd->intent.open.flags as the original open flags, not the one transformed for open_namei(). Also it used the intent data even if it was not filled in (if called from sys_mknod()). Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Cc: <viro@parcelfarce.linux.theplanet.co.uk> Cc: Christoph Hellwig <hch@lst.de> Cc: Steven French <sfrench@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [CIFS] Fix oops in cifs_unlink. Caused in some cases when renaming over ↵Steve French2005-05-171-1/+2
| | | | | | | | | | | existing, newly created, file. Samba bugzilla: 2697 Signed-off-by: Steve French (sfrench@us.ibm.com)
* [PATCH] cifs: character mapping of special characters (part 3 of 3)Steve French2005-04-281-91/+17
| | | | | Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] cifs: remove a few redundant null pointer checks, and cleanup misc ↵Steve French2005-04-281-45/+38
| | | | | | | | | source formatting Mostly suggested by Jesper Juhl Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-161-0/+523
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!
OpenPOWER on IntegriCloud