27 May, 2011
1 commit
-
secMode to sec_mode
and
cifsTconInfo to cifs_tcon
and
cifsSesInfo to cifs_sesSigned-off-by: Steve French
09 Nov, 2010
1 commit
-
Commit 13cfb7334e made cifs_ioctl use the tlink attached to the
cifsFileInfo for a filp. This ignores the case of an open directory
however, which in CIFS can have a NULL private_data until a readdir
is done on it.This patch re-adds the NULL pointer checks that were removed in commit
50ae28f01 and moves the setting of tcon and "caps" variables lower.Long term, a better fix would be to establish a f_op->open routine for
directories that populates that field at open time, but that requires
some other changes to how readdir calls are handled.Reported-by: Kjell Rune Skaaraas
Reviewed-and-Tested-by: Suresh Jayaraman
Signed-off-by: Jeff Layton
Signed-off-by: Steve French
02 Nov, 2010
1 commit
-
Stanse found that pSMBFile in cifs_ioctl and file->f_path.dentry in
cifs_user_write are dereferenced prior their test to NULL.The alternative is not to dereference them before the tests. The patch is
to point out the problem, you have to decide.While at it we cache the inode in cifs_user_write to a local variable
and use all over the function.Signed-off-by: Jiri Slaby
Cc: Steve French
Cc: linux-cifs@vger.kernel.org
Cc: Jeff Layton
Cc: Christoph Hellwig
Signed-off-by: Steve French
07 Oct, 2010
1 commit
-
cifsFileInfo needs a pointer to a tcon, but it doesn't currently hold a
reference to it. Change it to keep a pointer to a tcon_link instead and
hold a reference to it.That will keep the tcon from being freed until the file is closed.
Signed-off-by: Jeff Layton
Signed-off-by: Steve French
30 Sep, 2010
1 commit
-
...where it's available and appropriate.
Signed-off-by: Jeff Layton
Signed-off-by: Steve French
02 Aug, 2010
1 commit
-
Signed-off-by: Joe Perches
Signed-off-by: Steve French
21 Apr, 2010
1 commit
-
Neaten cERROR and cFYI macros, reduce text space
~2.5KConvert '__FILE__ ": " fmt' to '"%s: " fmt', __FILE__' to save text space
Surround macros with do {} while
Add parentheses to macros
Make statement expression macro from macro with assign
Remove now unnecessary parentheses from cFYI and cERROR usesdefconfig with CIFS support old
$ size fs/cifs/built-in.o
text data bss dec hex filename
156012 1760 148 157920 268e0 fs/cifs/built-in.odefconfig with CIFS support old
$ size fs/cifs/built-in.o
text data bss dec hex filename
153508 1760 148 155416 25f18 fs/cifs/built-in.oallyesconfig old:
$ size fs/cifs/built-in.o
text data bss dec hex filename
309138 3864 74824 387826 5eaf2 fs/cifs/built-in.oallyesconfig new
$ size fs/cifs/built-in.o
text data bss dec hex filename
305655 3864 74824 384343 5dd57 fs/cifs/built-in.oSigned-off-by: Joe Perches
Signed-off-by: Steve French
14 Nov, 2008
1 commit
-
Wrap access to task credentials so that they can be separated more easily from
the task_struct during the introduction of COW creds.Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().
Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
sense to use RCU directly rather than a convenient wrapper; these will be
addressed by later patches.Signed-off-by: David Howells
Reviewed-by: James Morris
Acked-by: Serge Hallyn
Cc: Steve French
Cc: linux-cifs-client@lists.samba.org
Signed-off-by: James Morris
15 May, 2008
1 commit
-
cifs_ioctl doesn't seem to need the BKL for anything, so convert it over
to use unlocked_ioctl.Signed-off-by: Andi Kleen
Signed-off-by: Andrew Morton
Signed-off-by: Steve French
08 Feb, 2008
1 commit
-
Signed-off-by: Steve French
10 Jul, 2007
1 commit
-
More than halfway there
Signed-off-by: Steve French
06 Jun, 2007
1 commit
-
Various coding style problems found by running fs/cifs
against the new checkpatch.pl script. Since there
were too many to fit in one patch. Updated the first
four files.Signed-off-by: Steve French
01 Oct, 2006
1 commit
-
Move common FS-specific ioctls from linux/ext2_fs.h to linux/fs.h as FS_IOC_*
and FS_IOC32_* and have the users of them use those as a base.Also move the GETFLAGS/SETFLAGS flags to linux/fs.h as FS_*_FL macros, and then
have the other users use them as a base.Signed-Off-By: David Howells
Signed-off-by: Jens Axboe
29 Apr, 2005
4 commits
-
And fix to not needlessly send new POSIX QFSInfo when server does not
explicitly claim support for the new protocol extensions.Signed-off-by: Steve French (sfrench@us.ibm.com)
Signed-off-by: Linus Torvalds -
Signed-off-by: Steve French (sfrench@us.ibm.com)
Signed-off-by: Linus Torvalds -
remove sparse warnings, unnecessary pad in QueryFileInfo and redundant
function define.Signed-off-by: Steve French (sfrench@us.ibm.com)
Signed-off-by: Linus Torvalds -
Signed-off-by: Steve French (sfrench@us.ibm.com)
Signed-off-by: Linus Torvalds
17 Apr, 2005
1 commit
-
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!