09 Nov, 2007
1 commit
-
When mounted with cifsacl mount option, readdir can not
instantiate the inode with the estimated mode based on the ACL
for each file since we have not queried for the ACL for
each of these files yet. So set the refresh time to zero
for these inodes so that the next stat will cause the client
to go to the server for the ACL info so we can build the estimated
mode (this means we also will issue an extra QueryPathInfo if
the stat happens within 1 second, but this is trivial compared to
the time required to open/getacl/close for each).ls -l is slower when cifsacl mount option is specified, but
displays correct mode information.Signed-off-by: Shirish Pargaonkar
Signed-off-by: Steve French
06 Nov, 2007
1 commit
-
Acked-by: Shirish Pargaonkar
Signed-off-by: Steve French
13 Oct, 2007
1 commit
-
Signed-off-by: Cyrill Gorcunov
Signed-off-by: Steve French
31 Aug, 2007
1 commit
-
Signed-off-by: Steve French
19 Jul, 2007
1 commit
-
Previously the only way to do this was to umount all mounts to that server,
turn off a proc setting (/proc/fs/cifs/LinuxExtensionsEnabled).Fixes Samba bugzilla bug number: 4582 (and also 2008)
Signed-off-by: Steve French
13 Jul, 2007
1 commit
-
This should be the last big batch of whitespace/formatting fixes.
checkpatch warnings for the cifs directory are down about 90% and
many of the remaining ones are harder to remove or make the code
harder to read.Signed-off-by: Steve French
08 Jul, 2007
2 commits
-
Signed-off-by: Steve French
-
Signed-off-by: Steve French
07 Jul, 2007
1 commit
-
Signed-off-by: Steve French
09 May, 2007
1 commit
-
Remove includes of where it is not used/needed.
Suggested by Al Viro.Builds cleanly on x86_64, i386, alpha, ia64, powerpc, sparc,
sparc64, and arm (all 59 defconfigs).Signed-off-by: Randy Dunlap
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
01 May, 2007
1 commit
-
When CIFS Unix Extensions are negotiated we get the Unix uid and gid
owners of the file from the server (on the Unix Query Path Info
levels), but if the server's uids don't match the client uid's users
were having to disable the Unix Extensions (which turned off features
they still wanted). The changeset patch allows users to override uid
and/or gid for file/directory owner with a default uid and/or gid
specified at mount (as is often done when mounting from Linux cifs
client to Windows server). This changeset also displays the uid
and gid used by default in /proc/mounts (if applicable).Also cleans up code by adding some of the missing spaces after
"if" keywords per-kernel style guidelines (as suggested by Randy Dunlap
when he reviewed the patch).Signed-off-by: Steve French
25 Apr, 2007
1 commit
-
Signed-off-by: Vignesh Babu
Signed-off-by: Steve French
03 Apr, 2007
1 commit
-
file->f_path.dentry or file->f_path.dentry.d_inode can't be NULL since at
least ten years, similar for all but very few arguments passed in from the
VFS.Signed-off-by: Christoph Hellwig
Signed-off-by: Steve French
10 Mar, 2007
1 commit
-
Signed-off-by: Alan Tyso
Signed-off-by: Jeff Layton
Signed-off-by: Steve French
27 Feb, 2007
1 commit
-
Could cause hangs on smp systems in i_size_read on a cifs inode
whose size has been previously simultaneously updated from
different processes.Thanks to Brian Wang for some great testing/debugging on this
hard problem.Fixes kernel bugzilla #7903
CC: Shirish Pargoankar
CC: Shaggy
Signed-off-by: Steve French
17 Feb, 2007
1 commit
-
atime flag was also overwritten. Noticed by Shirish when he was debugging
an atime problem. Should help performance a bit too.cifs should be getting time stamps from the server (that was the original
intent too)Signed-off-by: Steve French
09 Feb, 2007
1 commit
-
Signed-off-by: Steve French
07 Feb, 2007
1 commit
-
Missing tab. Missing entry in changelog
Signed-off-by: Steve French
09 Dec, 2006
1 commit
-
Change all the uses of f_{dentry,vfsmnt} to f_path.{dentry,mnt} in the cifs
filesystem.Signed-off-by: Josef "Jeff" Sipek
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
31 Oct, 2006
1 commit
-
Do not treat filldir running out of space as an error that needs
to be returned.Fixes Redhat bugzilla bug # 211070
Signed-off-by: Steve French
13 Oct, 2006
1 commit
-
* git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: (27 commits)
[CIFS] Missing flags2 for DFS
[CIFS] Workaround incomplete byte length returned by some
[CIFS] cifs Kconfig: don't select CONNECTOR
[CIFS] Level 1 QPathInfo needed for proper OS2 support
[CIFS] fix typo in previous patch
[CIFS] Fix old DOS time conversion to handle timezone
[CIFS] Do not need to adjust for Jan/Feb for leap day
[CIFS] Fix leaps year calculation for years after 2100
[CIFS] readdir (ffirst) enablement of accurate timestamps from legacy servers
[CIFS] Fix compiler warning with previous patch
[CIFS] Fix typo
[CIFS] Allow for 15 minute TZs (e.g. Nepal) and be more explicit about
[CIFS] Fix readdir of large directories for backlevel servers
[CIFS] Allow LANMAN21 support even in both POSIX non-POSIX path
[CIFS] Make use of newer QFSInfo dependent on capability bit instead of
[CIFS] Do not send newer QFSInfo to legacy servers which can not support it
[CIFS] Fix typo in name of new cifs_show_stats
[CIFS] Rename server time zone field
[CIFS] Handle legacy servers which return undefined time zone
[CIFS] CIFS support for /proc//mountstats part 1
...Manual conflict resolution in fs/cifs/connect.c
12 Oct, 2006
2 commits
-
Signed-off-by: Steve French
-
Signed-off-by: Steve French
07 Oct, 2006
1 commit
-
Signed-off-by: Steve French
02 Oct, 2006
1 commit
-
(were not setting all of resume key)
Signed-off-by: Steve French
28 Sep, 2006
1 commit
-
Signed-off-by: Steve French
27 Sep, 2006
1 commit
-
This eliminates the i_blksize field from struct inode. Filesystems that want
to provide a per-inode st_blksize can do so by providing their own getattr
routine instead of using the generic_fillattr() function.Note that some filesystems were providing pretty much random (and incorrect)
values for i_blksize.[bunk@stusta.de: cleanup]
[akpm@osdl.org: generic_fillattr() fix]
Signed-off-by: "Theodore Ts'o"
Signed-off-by: Adrian Bunk
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
07 Sep, 2006
1 commit
-
CIFS had one path in which dentry was instantiated before the corresponding
inode metadata was filled in.Fixes Redhat bugzilla bug #163493
Signed-off-by: Steve French
Acked-by: Eric Paris
Acked-by: Dave Kleikamp
15 Aug, 2006
1 commit
-
le16 compared to host-endian constant
u8 fed to le32_to_cpu()
le16 compared to host-endian constantSigned-off-by: Al Viro
Signed-off-by: Steve French
07 Jun, 2006
1 commit
-
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
02 Jun, 2006
1 commit
-
cifs should not be overwriting an element of the aops structure, since the
structure is shared by all cifs inodes. Instead define a separate aops
structure to suit each purpose.I also took the liberty of replacing a hard-coded 4096 with PAGE_CACHE_SIZE
Signed-off-by: Dave Kleikamp
Signed-off-by: Steven French
Signed-off-by: Andrew Morton
01 Jun, 2006
2 commits
23 Apr, 2006
1 commit
-
Signed-off-by: Steve French
22 Apr, 2006
2 commits
-
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
-
building of full path) to avoid hang rename/readdir hang
Reported by Alan Tyson
Signed-off-by: Steve French
31 Mar, 2006
1 commit
-
Signed-off-by: Steve French
27 Mar, 2006
1 commit
-
Cc: Takashi Sato
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
23 Mar, 2006
1 commit
-
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
Signed-off-by: Ingo Molnar
Cc: Al Viro
Cc: Christoph Hellwig
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
28 Feb, 2006
1 commit
-
Signed-off-by: Steve French