* [GIT] cifs fixes
@ 2005-06-01 22:23 Steve French
0 siblings, 0 replies; 17+ messages in thread
From: Steve French @ 2005-06-01 22:23 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1782 bytes --]
Linus,
Please pull from:
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git/HEAD
This will update the following files:
cifs/README | 4 +--
cifs/cifsproto.h | 2 -
cifs/cifssmb.c | 56
+++++++++++++++++++++++++++----------------------------
cifs/dir.c | 3 +-
cifs/inode.c | 24 ++++++++++++++---------
cifs/misc.c | 1
6 files changed, 49 insertions(+), 41 deletions(-)
commit b1a45695bde0204597957e448923f09ce271ca80
tree 96e82946fffd1105741dc99c886d92753ddac0ee
parent b2aeb9d565be5ef00fb9f921c6d2459c74d90cdf
author Steve French <stevef@stevef95> Tue, 17 May 2005 16:07:23 -0500
committer Steve French <stevef@stevef95> Tue, 17 May 2005 16:07:23 -0500
[CIFS] fix casts of unicode strings to match function definition
Signed-off-by: Steve French (sfrench@us.ibm.com)
commit b2aeb9d565be5ef00fb9f921c6d2459c74d90cdf
tree e7adab50ce6a13ef5ceb0fbb3d1208ae63523dc9
parent 67594feb4b68074d8807f5566536e06db9130679
author Steve French <stevef@stevef95> Tue, 17 May 2005 13:16:18 -0500
committer Steve French <stevef@stevef95> Tue, 17 May 2005 13:16:18 -0500
[CIFS] Fix oops in cifs_unlink. Caused in some cases when renaming
over existing,
newly created, file.
Samba bugzilla: 2697
Signed-off-by: Steve French (sfrench@us.ibm.com)
commit 67594feb4b68074d8807f5566536e06db9130679
tree 7360879062daf210285ab0a72be22eb26c2565e3
parent ff0d2f90fdc4b564d47a7c26b16de81a16cfa28e
author Steve French <stevef@stevef95> Tue, 17 May 2005 13:04:49 -0500
committer Steve French <stevef@stevef95> Tue, 17 May 2005 13:04:49 -0500
[CIFS] missing break needed to handle < when mount option "mapchars"
specified
Signed-off-by: Steve French (sfrench@us.ibm.com)
The diff also is attached
[-- Attachment #2: cifs.134b.diff --]
[-- Type: text/x-patch, Size: 14385 bytes --]
Index: fs/cifs/README
===================================================================
--- d414ab9a0f0995899c2e76c232714410f787b209/fs/cifs/README (mode:100644)
+++ uncommitted/fs/cifs/README (mode:100644)
@@ -371,7 +371,7 @@
on newly created files, directories, and devices (create,
mkdir, mknod) which will result in the server setting the
uid and gid to the default (usually the server uid of the
- usern who mounted the share). Letting the server (rather than
+ user who mounted the share). Letting the server (rather than
the client) set the uid and gid is the default. This
parameter has no effect if the CIFS Unix Extensions are not
negotiated.
@@ -384,7 +384,7 @@
client (e.g. when the application is doing large sequential
reads bigger than page size without rereading the same data)
this can provide better performance than the default
- behavior which caches reads (reaadahead) and writes
+ behavior which caches reads (readahead) and writes
(writebehind) through the local Linux client pagecache
if oplock (caching token) is granted and held. Note that
direct allows write operations larger than page size
Index: fs/cifs/cifsproto.h
===================================================================
--- d414ab9a0f0995899c2e76c232714410f787b209/fs/cifs/cifsproto.h (mode:100644)
+++ uncommitted/fs/cifs/cifsproto.h (mode:100644)
@@ -228,7 +228,7 @@
const struct nls_table *nls_codepage,
int remap_special_chars);
#endif /* CONFIG_CIFS_EXPERIMENTAL */
-extern int cifs_convertUCSpath(char *target, const __u16 *source, int maxlen,
+extern int cifs_convertUCSpath(char *target, const __le16 *source, int maxlen,
const struct nls_table * codepage);
extern int cifsConvertToUCS(__le16 * target, const char *source, int maxlen,
const struct nls_table * cp, int mapChars);
Index: fs/cifs/cifssmb.c
===================================================================
--- d414ab9a0f0995899c2e76c232714410f787b209/fs/cifs/cifssmb.c (mode:100644)
+++ uncommitted/fs/cifs/cifssmb.c (mode:100644)
@@ -567,7 +567,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((__u16 *) pSMB->fileName, fileName,
+ cifsConvertToUCS((__le16 *) pSMB->fileName, fileName,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -665,7 +665,7 @@
return rc;
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
- name_len = cifsConvertToUCS((__u16 *) pSMB->DirName, name,
+ name_len = cifsConvertToUCS((__le16 *) pSMB->DirName, name,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -719,7 +719,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
count = 1; /* account for one byte pad to word boundary */
name_len =
- cifsConvertToUCS((__u16 *) (pSMB->fileName + 1),
+ cifsConvertToUCS((__le16 *) (pSMB->fileName + 1),
fileName, PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -1141,7 +1141,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((__u16 *) pSMB->OldFileName, fromName,
+ cifsConvertToUCS((__le16 *) pSMB->OldFileName, fromName,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -1149,7 +1149,7 @@
/* protocol requires ASCII signature byte on Unicode string */
pSMB->OldFileName[name_len + 1] = 0x00;
name_len2 =
- cifsConvertToUCS((__u16 *) &pSMB->OldFileName[name_len + 2],
+ cifsConvertToUCS((__le16 *) &pSMB->OldFileName[name_len + 2],
toName, PATH_MAX, nls_codepage, remap);
name_len2 += 1 /* trailing null */ + 1 /* Signature word */ ;
name_len2 *= 2; /* convert to bytes */
@@ -1236,10 +1236,10 @@
/* unicode only call */
if(target_name == NULL) {
sprintf(dummy_string,"cifs%x",pSMB->hdr.Mid);
- len_of_str = cifsConvertToUCS((__u16 *)rename_info->target_name,
+ len_of_str = cifsConvertToUCS((__le16 *)rename_info->target_name,
dummy_string, 24, nls_codepage, remap);
} else {
- len_of_str = cifsConvertToUCS((__u16 *)rename_info->target_name,
+ len_of_str = cifsConvertToUCS((__le16 *)rename_info->target_name,
target_name, PATH_MAX, nls_codepage, remap);
}
rename_info->target_name_len = cpu_to_le32(2 * len_of_str);
@@ -1296,7 +1296,7 @@
pSMB->Flags = cpu_to_le16(flags & COPY_TREE);
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
- name_len = cifsConvertToUCS((__u16 *) pSMB->OldFileName,
+ name_len = cifsConvertToUCS((__le16 *) pSMB->OldFileName,
fromName, PATH_MAX, nls_codepage,
remap);
name_len++; /* trailing null */
@@ -1304,7 +1304,7 @@
pSMB->OldFileName[name_len] = 0x04; /* pad */
/* protocol requires ASCII signature byte on Unicode string */
pSMB->OldFileName[name_len + 1] = 0x00;
- name_len2 = cifsConvertToUCS((__u16 *)&pSMB->OldFileName[name_len + 2],
+ name_len2 = cifsConvertToUCS((__le16 *)&pSMB->OldFileName[name_len + 2],
toName, PATH_MAX, nls_codepage, remap);
name_len2 += 1 /* trailing null */ + 1 /* Signature word */ ;
name_len2 *= 2; /* convert to bytes */
@@ -1453,7 +1453,7 @@
return rc;
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
- name_len = cifsConvertToUCS((__u16 *) pSMB->FileName, toName,
+ name_len = cifsConvertToUCS((__le16 *) pSMB->FileName, toName,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -1476,7 +1476,7 @@
data_offset = (char *) (&pSMB->hdr.Protocol) + offset;
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len_target =
- cifsConvertToUCS((__u16 *) data_offset, fromName, PATH_MAX,
+ cifsConvertToUCS((__le16 *) data_offset, fromName, PATH_MAX,
nls_codepage, remap);
name_len_target++; /* trailing null */
name_len_target *= 2;
@@ -1546,14 +1546,14 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((__u16 *) pSMB->OldFileName, fromName,
+ cifsConvertToUCS((__le16 *) pSMB->OldFileName, fromName,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
pSMB->OldFileName[name_len] = 0; /* pad */
pSMB->OldFileName[name_len + 1] = 0x04;
name_len2 =
- cifsConvertToUCS((__u16 *)&pSMB->OldFileName[name_len + 2],
+ cifsConvertToUCS((__le16 *)&pSMB->OldFileName[name_len + 2],
toName, PATH_MAX, nls_codepage, remap);
name_len2 += 1 /* trailing null */ + 1 /* Signature word */ ;
name_len2 *= 2; /* convert to bytes */
@@ -1939,7 +1939,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((__u16 *) pSMB->FileName, searchName,
+ cifsConvertToUCS((__le16 *) pSMB->FileName, searchName,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -2024,7 +2024,7 @@
return rc;
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((__u16 *) pSMB->FileName, fileName,
+ cifsConvertToUCS((__le16 *) pSMB->FileName, fileName,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -2188,7 +2188,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((__u16 *) pSMB->FileName, searchName,
+ cifsConvertToUCS((__le16 *) pSMB->FileName, searchName,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -2269,7 +2269,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((__u16 *) pSMB->FileName, searchName,
+ cifsConvertToUCS((__le16 *) pSMB->FileName, searchName,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -2350,7 +2350,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((wchar_t *) pSMB->FileName, searchName, PATH_MAX
+ cifsConvertToUCS((__le16 *) pSMB->FileName, searchName, PATH_MAX
/* find define for this maxpathcomponent */
, nls_codepage);
name_len++; /* trailing null */
@@ -2435,7 +2435,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((__u16 *) pSMB->FileName,searchName,
+ cifsConvertToUCS((__le16 *) pSMB->FileName,searchName,
PATH_MAX, nls_codepage, remap);
/* We can not add the asterik earlier in case
it got remapped to 0xF03A as if it were part of the
@@ -2726,7 +2726,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((__u16 *) pSMB->FileName, searchName,
+ cifsConvertToUCS((__le16 *) pSMB->FileName, searchName,
PATH_MAX,nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -2837,7 +2837,7 @@
if (ses->capabilities & CAP_UNICODE) {
pSMB->hdr.Flags2 |= SMBFLG2_UNICODE;
name_len =
- cifsConvertToUCS((__u16 *) pSMB->RequestFileName,
+ cifsConvertToUCS((__le16 *) pSMB->RequestFileName,
searchName, PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -3369,7 +3369,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((__u16 *) pSMB->FileName, fileName,
+ cifsConvertToUCS((__le16 *) pSMB->FileName, fileName,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -3627,7 +3627,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((__u16 *) pSMB->FileName, fileName,
+ cifsConvertToUCS((__le16 *) pSMB->FileName, fileName,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -3708,7 +3708,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- ConvertToUCS((wchar_t *) pSMB->fileName, fileName,
+ ConvertToUCS((__le16 *) pSMB->fileName, fileName,
PATH_MAX, nls_codepage);
name_len++; /* trailing null */
name_len *= 2;
@@ -3759,7 +3759,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((__u16 *) pSMB->FileName, fileName,
+ cifsConvertToUCS((__le16 *) pSMB->FileName, fileName,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -3904,7 +3904,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((wchar_t *) pSMB->FileName, searchName,
+ cifsConvertToUCS((__le16 *) pSMB->FileName, searchName,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -4047,7 +4047,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((__u16 *) pSMB->FileName, searchName,
+ cifsConvertToUCS((__le16 *) pSMB->FileName, searchName,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
@@ -4194,7 +4194,7 @@
if (pSMB->hdr.Flags2 & SMBFLG2_UNICODE) {
name_len =
- cifsConvertToUCS((__u16 *) pSMB->FileName, fileName,
+ cifsConvertToUCS((__le16 *) pSMB->FileName, fileName,
PATH_MAX, nls_codepage, remap);
name_len++; /* trailing null */
name_len *= 2;
Index: fs/cifs/dir.c
===================================================================
--- d414ab9a0f0995899c2e76c232714410f787b209/fs/cifs/dir.c (mode:100644)
+++ uncommitted/fs/cifs/dir.c (mode:100644)
@@ -392,7 +392,8 @@
rc = 0;
d_add(direntry, NULL);
} else {
- cERROR(1,("Error 0x%x or on cifs_get_inode_info in lookup",rc));
+ cERROR(1,("Error 0x%x on cifs_get_inode_info in lookup of %s",
+ rc,full_path));
/* BB special case check for Access Denied - watch security
exposure of returning dir info implicitly via different rc
if file exists or not but no access BB */
Index: fs/cifs/inode.c
===================================================================
--- d414ab9a0f0995899c2e76c232714410f787b209/fs/cifs/inode.c (mode:100644)
+++ uncommitted/fs/cifs/inode.c (mode:100644)
@@ -422,7 +422,8 @@
cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR);
if (!rc) {
- direntry->d_inode->i_nlink--;
+ if(direntry->d_inode)
+ direntry->d_inode->i_nlink--;
} else if (rc == -ENOENT) {
d_drop(direntry);
} else if (rc == -ETXTBSY) {
@@ -440,7 +441,8 @@
cifs_sb->mnt_cifs_flags &
CIFS_MOUNT_MAP_SPECIAL_CHR);
CIFSSMBClose(xid, pTcon, netfid);
- direntry->d_inode->i_nlink--;
+ if(direntry->d_inode)
+ direntry->d_inode->i_nlink--;
}
} else if (rc == -EACCES) {
/* try only if r/o attribute set in local lookup data? */
@@ -494,7 +496,8 @@
cifs_sb->mnt_cifs_flags &
CIFS_MOUNT_MAP_SPECIAL_CHR);
if (!rc) {
- direntry->d_inode->i_nlink--;
+ if(direntry->d_inode)
+ direntry->d_inode->i_nlink--;
} else if (rc == -ETXTBSY) {
int oplock = FALSE;
__u16 netfid;
@@ -514,17 +517,20 @@
cifs_sb->mnt_cifs_flags &
CIFS_MOUNT_MAP_SPECIAL_CHR);
CIFSSMBClose(xid, pTcon, netfid);
- direntry->d_inode->i_nlink--;
+ if(direntry->d_inode)
+ direntry->d_inode->i_nlink--;
}
/* BB if rc = -ETXTBUSY goto the rename logic BB */
}
}
}
- cifsInode = CIFS_I(direntry->d_inode);
- cifsInode->time = 0; /* will force revalidate to get info when
- needed */
- direntry->d_inode->i_ctime = inode->i_ctime = inode->i_mtime =
- current_fs_time(inode->i_sb);
+ if(direntry->d_inode) {
+ cifsInode = CIFS_I(direntry->d_inode);
+ cifsInode->time = 0; /* will force revalidate to get info
+ when needed */
+ direntry->d_inode->i_ctime = current_fs_time(inode->i_sb);
+ }
+ inode->i_ctime = inode->i_mtime = current_fs_time(inode->i_sb);
cifsInode = CIFS_I(inode);
cifsInode->time = 0; /* force revalidate of dir as well */
Index: fs/cifs/misc.c
===================================================================
--- d414ab9a0f0995899c2e76c232714410f787b209/fs/cifs/misc.c (mode:100644)
+++ uncommitted/fs/cifs/misc.c (mode:100644)
@@ -571,6 +571,7 @@
break;
case UNI_LESSTHAN:
target[j] = '<';
+ break;
default:
len = cp->uni2char(src_char, &target[j],
NLS_MAX_CHARSET_SIZE);
^ permalink raw reply [flat|nested] 17+ messages in thread* [GIT] CIFS Fixes
@ 2008-03-22 23:11 Steve French
0 siblings, 0 replies; 17+ messages in thread
From: Steve French @ 2008-03-22 23:11 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Andrew Morton, lkml, Q (Igor Mammedov)
Linus,
Please pull.
The following changes since commit dba92d3bc49c036056a48661d2d8fefe4c78375a:
Linus Torvalds (1):
Merge branch 'for-linus' of git://git.kernel.org/.../roland/infiniband
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git master
Harvey Harrison (1):
[CIFS] cifs: replace remaining __FUNCTION__ occurrences
Igor Mammedov (1):
[CIFS] DFS patch that connects inode with dfs handling ops
Steve French (6):
Merge branch 'master' of /.../torvalds/linux-2.6
[CIFS] Fix build problem
[CIFS] Fix mtime on cp -p when file data cached but written out too late
Merge branch 'master' of /.../torvalds/linux-2.6
[CIFS] file create with acl support enabled is slow
[CIFS] Fix mem leak on dfs referral
fs/cifs/cifs_dfs_ref.c | 18 +++---
fs/cifs/cifsacl.c | 25 +++++---
fs/cifs/cifsproto.h | 9 ++-
fs/cifs/dir.c | 5 +-
fs/cifs/dns_resolve.c | 8 +-
fs/cifs/file.c | 4 +-
fs/cifs/inode.c | 161 +++++++++++++++++++++++++++---------------------
fs/cifs/link.c | 2 +-
8 files changed, 130 insertions(+), 102 deletions(-)
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 17+ messages in thread* [GIT] CIFS Fixes
@ 2008-06-10 22:08 Steve French
0 siblings, 0 replies; 17+ messages in thread
From: Steve French @ 2008-06-10 22:08 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Andrew Morton, Jeff Layton, LKML
The following changes since commit cbff290491cd97bcd449b14f672d98992ddad5cb:
Linus Torvalds (1):
Merge branch 'merge' of git://git.kernel.org/.../paulus/powerpc
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git master
Jeff Layton (4):
on non-posix shares, clear write bits in mode when ATTR_READONLY is set
when creating new inodes, use file_mode/dir_mode exclusively on
mount without unix extensions
silently ignore ownership changes unless unix extensions are
enabled or we're faking uid changes
disable most mode changes on non-unix/non-cifsacl mounts
Steve French (6):
[CIFS] remove unused variables
[CIFS] remove trailing whitespace
[CIFS] warn if both dynperm and cifsacl mount options specified
[CIFS] Correct incorrect obscure open flag
[CIFS] Fix hang in mount when negprot causes server to kill tcp session
[CIFS] cifs: fix oops on mount when CONFIG_CIFS_DFS_UPCALL is enabled
fs/cifs/CHANGES | 5 ++
fs/cifs/cifsfs.c | 21 ++++----
fs/cifs/cifsglob.h | 3 +-
fs/cifs/cifspdu.h | 23 ++++++--
fs/cifs/cifssmb.c | 6 +--
fs/cifs/connect.c | 5 ++
fs/cifs/dir.c | 4 +-
fs/cifs/file.c | 7 ---
fs/cifs/inode.c | 148 ++++++++++++++++++++++++++++++---------------------
fs/cifs/misc.c | 3 +-
fs/cifs/readdir.c | 77 ++++++++++++++-------------
11 files changed, 172 insertions(+), 130 deletions(-)
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 17+ messages in thread* [GIT] CIFS Fixes
@ 2008-11-20 20:19 Steve French
0 siblings, 0 replies; 17+ messages in thread
From: Steve French @ 2008-11-20 20:19 UTC (permalink / raw)
To: Linus Torvalds; +Cc: LKML
The following changes since commit 4e14e833ac3b97a4aa8803eea49f899adc5bb5f4:
Linus Torvalds (1):
Merge git://git.kernel.org/.../sfrench/cifs-2.6
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git
..BRANCH.NOT.VERIFIED..
Steve French (2):
[CIFS] fix check for dead tcon in smb_init
[CIFS] Do not attempt to close invalidated file handles
fs/cifs/CHANGES | 6 +++++-
fs/cifs/cifsglob.h | 10 +++++++++-
fs/cifs/cifssmb.c | 2 +-
fs/cifs/file.c | 21 ++++++++++++++-------
fs/cifs/misc.c | 3 +++
fs/cifs/readdir.c | 5 ++++-
6 files changed, 36 insertions(+), 11 deletions(-)
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 17+ messages in thread* [GIT] CIFS Fixes
@ 2011-07-11 18:59 Steve French
0 siblings, 0 replies; 17+ messages in thread
From: Steve French @ 2011-07-11 18:59 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-cifs, LKML
The following changes since commit de3796e77a587b28f0c9d8e04c02894d3939dc4e:
Merge branch 'v4l_for_linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6
(2011-07-06 12:16:49 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git
..BRANCH.NOT.VERIFIED..
Jeff Layton (7):
cifs: remove bogus call to cifs_cleanup_volume_info
cifs: fix build_unc_path_to_root to account for a prefixpath
cifs: have cifs_cleanup_volume_info not take a double pointer
cifs: factor smb_vol allocation out of cifs_setup_volume_info
cifs: move bdi_setup_and_register outside of CONFIG_CIFS_DFS_UPCALL
cifs: fix expand_dfs_referral
cifs: drop spinlock before calling cifs_put_tlink
fs/cifs/cifsfs.c | 8 ++--
fs/cifs/cifsproto.h | 6 +-
fs/cifs/connect.c | 116 +++++++++++++++++++++++++++++----------------------
3 files changed, 73 insertions(+), 57 deletions(-)
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 17+ messages in thread* [GIT] CIFS Fixes
@ 2011-09-20 4:49 Steve French
2011-09-20 5:13 ` Linus Torvalds
0 siblings, 1 reply; 17+ messages in thread
From: Steve French @ 2011-09-20 4:49 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-cifs, LKML
The following changes since commit 9d037a777695993ec7437e5f451647dea7919d4c:
Linus Torvalds (1):
Merge branch 'irq-fixes-for-linus' of
git://tesla.tglx.de/git/linux-2.6-tip
are available in the git repository at:
git://git.samba.org/sfrench/cifs-2.6.git master
Jeff Layton (1):
cifs: fix possible memory corruption in CIFSFindNext
Pavel Shilovsky (1):
CIFS: Fix ERR_PTR dereference in cifs_get_root
Shirish Pargaonkar (1):
cifs: Fix broken sec=ntlmv2/i sec option (try #2)
Steve French (1):
Fix the conflict between rwpidforward and rw mount options
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [GIT] CIFS Fixes
2011-09-20 4:49 Steve French
@ 2011-09-20 5:13 ` Linus Torvalds
2011-09-20 5:34 ` Steve French
0 siblings, 1 reply; 17+ messages in thread
From: Linus Torvalds @ 2011-09-20 5:13 UTC (permalink / raw)
To: Steve French; +Cc: linux-cifs, LKML
On Mon, Sep 19, 2011 at 9:49 PM, Steve French <smfrench@gmail.com> wrote:
>
> git://git.samba.org/sfrench/cifs-2.6.git master
No diffstat? And why is it all totally newly rebased? How much testing
has any of this gotten?
Linus
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [GIT] CIFS Fixes
2011-09-20 5:13 ` Linus Torvalds
@ 2011-09-20 5:34 ` Steve French
0 siblings, 0 replies; 17+ messages in thread
From: Steve French @ 2011-09-20 5:34 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-cifs, LKML
On Tue, Sep 20, 2011 at 12:13 AM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
> On Mon, Sep 19, 2011 at 9:49 PM, Steve French <smfrench@gmail.com> wrote:
>>
>> git://git.samba.org/sfrench/cifs-2.6.git master
>
> No diffstat? And why is it all totally newly rebased? How much testing
> has any of this gotten?
Sorry - cut and paste error. Diffstat included below. This had been
in linux-next since
before the kernel.org problems (thus the delay) and has been tested
against various
versions of Samba and Windows. I am actually at the Storage Developer
Conference CIFS/SMB2 plugfest testing this week with others on the
Samba team, against various types of servers. There is one additional
fix that I would like to send later (setting extended security flag by
default, working around a Windows problem we found when upgrading
ntlmv2 default behavior) which I did not include since I want to do
testing against a wider variety of servers here this week.
The following changes since commit 9d037a777695993ec7437e5f451647dea7919d4c:
Linus Torvalds (1):
Merge branch 'irq-fixes-for-linus' of
git://tesla.tglx.de/git/linux-2.6-tip
are available in the git repository at:
git://git.samba.org/sfrench/cifs-2.6.git master
Jeff Layton (1):
cifs: fix possible memory corruption in CIFSFindNext
Pavel Shilovsky (1):
CIFS: Fix ERR_PTR dereference in cifs_get_root
Shirish Pargaonkar (1):
cifs: Fix broken sec=ntlmv2/i sec option (try #2)
Steve French (1):
Fix the conflict between rwpidforward and rw mount options
fs/cifs/cifsencrypt.c | 54 ++++++++++---------------------------------------
fs/cifs/cifsfs.c | 10 +++++---
fs/cifs/cifssmb.c | 3 +-
fs/cifs/connect.c | 4 +-
4 files changed, 21 insertions(+), 50 deletions(-)
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 17+ messages in thread
* [GIT] CIFS Fixes
@ 2012-01-04 17:18 Steve French
0 siblings, 0 replies; 17+ messages in thread
From: Steve French @ 2012-01-04 17:18 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-cifs, LKML
The following changes since commit f9fab10bbd768b0e5254e53a4a8477a94bfc4b96:
hung_task: fix false positive during vfork (2012-01-03 16:14:32 -0800)
are available in the git repository at:
git://git.samba.org/sfrench/cifs-2.6.git master
Jeff Layton (1):
cifs: fix bad buffer length check in coalesce_t2
Steve French (1):
[CIFS] default ntlmv2 for cifs mount delayed to 3.3
fs/cifs/connect.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 17+ messages in thread* [GIT] CIFS Fixes
@ 2013-03-01 17:16 Steve French
0 siblings, 0 replies; 17+ messages in thread
From: Steve French @ 2013-03-01 17:16 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-cifs, LKML
Four cifs fixes (including for kernel bug #53221 and samba bug #9519)
The following changes since commit 309667e53fcfd8e0b423280b6ea5a648fd92166c:
Merge branch 'kconfig' of
git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
(2013-02-27 12:28:30 -0800)
are available in the git repository at:
git://git.samba.org/sfrench/cifs-2.6.git for-next
Jeff Layton (1):
cifs: ensure that cifs_get_root() only traverses directories
Martijn de Gouw (1):
cifs: set MAY_SIGN when sec=krb5
Ouyang Maochun (1):
cifs: bugfix for unreclaimed writeback pages in cifs_writev_requeue()
Steve French (1):
POSIX extensions disabled on client due to illegal O_EXCL flag
sent to Samba
fs/cifs/cifsfs.c | 5 +++++
fs/cifs/cifssmb.c | 5 ++++-
fs/cifs/connect.c | 2 +-
fs/cifs/file.c | 12 +++++++++---
4 files changed, 19 insertions(+), 5 deletions(-)
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 17+ messages in thread* [GIT] CIFS Fixes
@ 2013-03-08 20:14 Steve French
0 siblings, 0 replies; 17+ messages in thread
From: Steve French @ 2013-03-08 20:14 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-cifs, LKML
A small set of cifs fixes which includes one for a recent regression
in the write path (pointed out by Anton), some fixes for rename
problems and as promised for 3.9 removing the obsolete sockopt mount
option (and the accompanying deprecation warning).
The following changes since commit 9f225788cc047fb7c2ef2326eb4f86dee890e2ef:
Merge branch 'merge' of
git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (2013-03-05
18:56:22 -0800)
are available in the git repository at:
git://git.samba.org/sfrench/cifs-2.6.git for-next
Jeff Layton (2):
cifs: remove the sockopt= mount option
cifs: don't try to unlock pagecache page after releasing it
Pavel Shilovsky (1):
CIFS: Fix missing of oplock_read value in smb30_values structure
Sachin Prabhu (2):
cifs: Fix bug when checking error condition in
cifs_rename_pending_delete()
cifs: Check server capability before attempting silly rename
fs/cifs/cifssmb.c | 2 +-
fs/cifs/connect.c | 16 +---------------
fs/cifs/inode.c | 11 ++++++++++-
fs/cifs/smb2ops.c | 1 +
4 files changed, 13 insertions(+), 17 deletions(-)
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 17+ messages in thread* [GIT] CIFS Fixes
@ 2013-03-21 22:41 Steve French
0 siblings, 0 replies; 17+ messages in thread
From: Steve French @ 2013-03-21 22:41 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-cifs, LKML
3 small CIFS Fixes (the most important of the three fixes a recent
problem authenticating
to Windows 8 using cifs rather than SMB2)
The following changes since commit 6c23cbbd5056b155401b0a2b5567d530e6c750c4:
Randy Dunlap (1):
futex: fix kernel-doc notation and spello
are available in the git repository at:
git://git.samba.org/sfrench/cifs-2.6.git for-next
Jeff Layton (1):
cifs: ignore everything in SPNEGO blob after mechTypes
Mateusz Guzik (1):
cifs: delay super block destruction until all cifsFileInfo
objects are gone
Sachin Prabhu (1):
cifs: map NT_STATUS_SHARING_VIOLATION to EBUSY instead of ETXTBSY
fs/cifs/asn1.c | 53 +++++------------------------------------------------
fs/cifs/cifsfs.c | 24 ++++++++++++++++++++++++
fs/cifs/cifsfs.h | 4 ++++
fs/cifs/file.c | 6 +++++-
fs/cifs/inode.c | 10 ++++------
fs/cifs/netmisc.c | 2 +-
6 files changed, 43 insertions(+), 56 deletions(-)
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 17+ messages in thread* [GIT] CIFS Fixes
@ 2013-05-06 14:02 Steve French
0 siblings, 0 replies; 17+ messages in thread
From: Steve French @ 2013-05-06 14:02 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-cifs, LKML
A set of cifs cleanup fixes. The only big one of this set optimizes
the cifs error logging, renaming cFYI and cERROR macros to cifs_dbg,
and in the process makes it clearer and reduces module size.
The following changes since commit 173192958d06b8d1eb44f56d74373052ad6a9a60:
Merge tag 'mmc-updates-for-3.10-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc (2013-05-04
13:45:17 -0700)
are available in the git repository at:
git://git.samba.org/sfrench/cifs-2.6.git for-next
for you to fetch changes up to b13ce4bbcae6181eb9cdda5a5bf88a28b0acd7aa:
cifs: small variable name cleanup (2013-05-04 22:18:10 -0500)
----------------------------------------------------------------
Dan Carpenter (1):
cifs: small variable name cleanup
Dia Vasile (1):
cifs: replaced kmalloc + memset with kzalloc
Jeff Layton (4):
cifs: ignore the unc= and prefixpath= mount options
cifs: remove ENOSPC handling in smb_sendv
cifs: on send failure, readjust server sequence number downward
cifs: store the real expected sequence number in the mid
Joe Perches (1):
[CIFS] cifs: Rename cERROR and cFYI to cifs_dbg
Silviu-Mihai Popescu (1):
fs: cifs: use kmemdup instead of kmalloc + memcpy
Wei Yongjun (1):
CIFS: fix error return code in cifs_atomic_open()
fs/cifs/asn1.c | 40 ++--
fs/cifs/cache.c | 6 +-
fs/cifs/cifs_debug.c | 67 ++++---
fs/cifs/cifs_debug.h | 70 +++----
fs/cifs/cifs_dfs_ref.c | 41 ++--
fs/cifs/cifs_spnego.c | 5 +-
fs/cifs/cifs_unicode.c | 4 +-
fs/cifs/cifsacl.c | 130 ++++++-------
fs/cifs/cifsencrypt.c | 106 +++++------
fs/cifs/cifsfs.c | 36 ++--
fs/cifs/cifsproto.h | 10 +-
fs/cifs/cifssmb.c | 488 ++++++++++++++++++++++++------------------------
fs/cifs/connect.c | 368 +++++++++++++++---------------------
fs/cifs/dir.c | 48 ++---
fs/cifs/dns_resolve.c | 17 +-
fs/cifs/export.c | 2 +-
fs/cifs/file.c | 166 ++++++++--------
fs/cifs/fscache.c | 58 +++---
fs/cifs/inode.c | 109 +++++------
fs/cifs/ioctl.c | 6 +-
fs/cifs/link.c | 24 +--
fs/cifs/misc.c | 78 ++++----
fs/cifs/netmisc.c | 16 +-
fs/cifs/readdir.c | 77 ++++----
fs/cifs/sess.c | 77 ++++----
fs/cifs/smb1ops.c | 50 ++---
fs/cifs/smb2file.c | 8 +-
fs/cifs/smb2inode.c | 2 +-
fs/cifs/smb2maperror.c | 2 +-
fs/cifs/smb2misc.c | 96 +++++-----
fs/cifs/smb2ops.c | 16 +-
fs/cifs/smb2pdu.c | 161 ++++++++--------
fs/cifs/smb2transport.c | 26 +--
fs/cifs/smbencrypt.c | 17 +-
fs/cifs/transport.c | 84 +++++----
fs/cifs/xattr.c | 54 +++---
36 files changed, 1261 insertions(+), 1304 deletions(-)
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 17+ messages in thread* [GIT] CIFS FIxes
@ 2013-05-28 16:11 Steve French
0 siblings, 0 replies; 17+ messages in thread
From: Steve French @ 2013-05-28 16:11 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-cifs, LKML
Fixes for a couple of DFS problems, a problem with extended security
negotiation and two other small cifs fixes.
The following changes since commit 62106e96279f66c52e2123782f9420af9dbe8cbe:
cifs: only set ops for inodes in I_NEW state (2013-05-24 12:55:39 -0500)
are available in the git repository at:
git://git.samba.org/sfrench/cifs-2.6.git for-3.10
Jeff Layton (5):
cifs: fix potential buffer overrun when composing a new options string
cifs: allow sec=none mounts to work against servers that don't
support extended security
cifs: fix error handling when calling cifs_parse_devname
cifs: stop printing the unc= option in /proc/mounts
cifs: fix composing of mount options for DFS referrals
fs/cifs/cifs_dfs_ref.c | 141 ++++++++++++++++++++++++-----------------------
fs/cifs/cifsfs.c | 3 -
fs/cifs/connect.c | 23 +++++---
fs/cifs/dns_resolve.c | 4 +-
4 files changed, 88 insertions(+), 83 deletions(-)
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 17+ messages in thread* [GIT] CIFS Fixes
@ 2013-07-12 15:04 Steve French
0 siblings, 0 replies; 17+ messages in thread
From: Steve French @ 2013-07-12 15:04 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-cifs, LKML
Fixes for 4 cifs bugs, including a reconnect problem, a problem
parsing responses to SMB2 open request, and setting nlink incorrectly
to some servers which don't report it properly on the wire. Also
improves data integrity on reconnect with series from Pavel which adds
durable handle support for SMB2.
The following changes since commit 80cc38b16389849a6e06441ace4530f6b2497c3c:
Merge branch 'for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
(2013-07-04 11:40:58 -0700)
are available in the git repository at:
git://git.samba.org/sfrench/cifs-2.6.git for-linus
for you to fetch changes up to 689c3db4d57a73bee6c5ad7797fce7b54d32a87c:
CIFS: Fix a deadlock when a file is reopened (2013-07-11 18:05:41 -0500)
----------------------------------------------------------------
Pavel Shilovsky (10):
CIFS: Fix lease context buffer parsing
CIFS: Respect create_options in smb2_open_file
CIFS: Simplify SMB2_open code path
CIFS: Simplify SMB2 create context handling
CIFS: Request durable open for SMB2 opens
CIFS: Introduce cifs_open_parms struct
CIFS: Make SMB2_open use cifs_open_parms struct
CIFS: Reconnect durable handles for SMB2
CIFS: Reopen the file if reconnect durable handle failed
CIFS: Fix a deadlock when a file is reopened
Steve French (3):
Limit allocation of crypto mechanisms to dialect which requires
[CIFS] use sensible file nlink values if unprovided
[CIFS] Fix minor endian error in durable handle patch series
fs/cifs/cifsencrypt.c | 195 +++++++++++++++++++-----------------------
fs/cifs/cifsglob.h | 17 +++-
fs/cifs/cifsproto.h | 1 -
fs/cifs/connect.c | 6 --
fs/cifs/dir.c | 14 ++-
fs/cifs/file.c | 54 ++++++++----
fs/cifs/inode.c | 5 ++
fs/cifs/smb1ops.c | 29 ++++---
fs/cifs/smb2file.c | 24 +++---
fs/cifs/smb2inode.c | 57 +++++++------
fs/cifs/smb2ops.c | 54 ++++++++----
fs/cifs/smb2pdu.c | 220 ++++++++++++++++++++++++++++++++++--------------
fs/cifs/smb2pdu.h | 14 ++-
fs/cifs/smb2proto.h | 16 ++--
fs/cifs/smb2transport.c | 90 +++++++++++++++++++-
15 files changed, 515 insertions(+), 281 deletions(-)
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 17+ messages in thread* [GIT] cifs fixes
@ 2021-01-30 18:49 Steve French
2021-01-31 2:17 ` pr-tracker-bot
0 siblings, 1 reply; 17+ messages in thread
From: Steve French @ 2021-01-30 18:49 UTC (permalink / raw)
To: Linus Torvalds; +Cc: CIFS, LKML
Please pull the following changes since commit
6ee1d745b7c9fd573fba142a2efdad76a9f1cb04:
Linux 5.11-rc5 (2021-01-24 16:47:14 -0800)
are available in the Git repository at:
git://git.samba.org/sfrench/cifs-2.6.git tags/5.11-rc5-smb3
for you to fetch changes up to 0d4873f9aa4ff8fc1d63a5755395b794d32ce046:
cifs: fix dfs domain referrals (2021-01-28 21:40:43 -0600)
----------------------------------------------------------------
Four cifs patches found in additional testing of the conversion to the
new mount API. 3 small parm processing ones, and one fixing domain
based DFS referrals
A fix for nested mounts, an additional DFS fix and a security fix are
still being tested (I expect to send those next week).
Test results: http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/2/builds/486
----------------------------------------------------------------
Adam Harvey (1):
cifs: ignore auto and noauto options if given
Ronnie Sahlberg (1):
cifs: fix dfs domain referrals
Steve French (2):
cifs: fix mounts to subdirectories of target
cifs: returning mount parm processing errors correctly
fs/cifs/cifs_dfs_ref.c | 12 ++++++++----
fs/cifs/cifsfs.c | 2 +-
fs/cifs/cifsproto.h | 6 ++++--
fs/cifs/connect.c | 32 ++++++++++++++++++++++++++------
fs/cifs/dfs_cache.c | 8 +++++---
fs/cifs/fs_context.c | 41 +++++++++++++++++++++++++++++++++++++----
6 files changed, 81 insertions(+), 20 deletions(-)
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2021-01-31 2:18 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-01 22:23 [GIT] cifs fixes Steve French
-- strict thread matches above, loose matches on Subject: below --
2008-03-22 23:11 [GIT] CIFS Fixes Steve French
2008-06-10 22:08 Steve French
2008-11-20 20:19 Steve French
2011-07-11 18:59 Steve French
2011-09-20 4:49 Steve French
2011-09-20 5:13 ` Linus Torvalds
2011-09-20 5:34 ` Steve French
2012-01-04 17:18 Steve French
2013-03-01 17:16 Steve French
2013-03-08 20:14 Steve French
2013-03-21 22:41 Steve French
2013-05-06 14:02 Steve French
2013-05-28 16:11 [GIT] CIFS FIxes Steve French
2013-07-12 15:04 [GIT] CIFS Fixes Steve French
2021-01-30 18:49 [GIT] cifs fixes Steve French
2021-01-31 2:17 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox