+ cifs-endian-fix.patch added to -mm tree

Steven French sfrench at us.ibm.com
Wed May 17 23:24:15 GMT 2006






Alexey,
I have put this patch in the cifs-2.6-stable git tree which currently has
about three or four other fixes which I am debating requesting a merge for
(although all low risk, I still need to test built the set and run the
ususal ltp filesystem regression tests against  it)


Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com


                                                                           
             akpm at osdl.org                                                 
                                                                           
             05/15/2006 02:29                                           To 
             PM                        adobriyan at gmail.com, Steven         
                                       French/Austin/IBM at IBMUS,            
                                       mm-commits at vger.kernel.org          
                                                                        cc 
                                                                           
                                                                   Subject 
                                       + cifs-endian-fix.patch added to    
                                       -mm tree                            
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





The patch titled

     cifs: endian fix

has been added to the -mm tree.  Its filename is

     cifs-endian-fix.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this


From: Alexey Dobriyan <adobriyan at gmail.com>

Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
Cc: Steven French <sfrench at us.ibm.com>
Signed-off-by: Andrew Morton <akpm at osdl.org>
---

 fs/cifs/cifssmb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN fs/cifs/cifssmb.c~cifs-endian-fix fs/cifs/cifssmb.c
--- 25/fs/cifs/cifssmb.c~cifs-endian-fix         Mon May 15 12:28:43 2006
+++ 25-akpm/fs/cifs/cifssmb.c        Mon May 15 12:28:43 2006
@@ -1409,10 +1409,10 @@ CIFSSMBPosixLock(const int xid, struct c

             parm_data->lock_type = cpu_to_le16(lock_type);
             if(waitFlag)
-                        parm_data->lock_flags = 1;
+                        parm_data->lock_flags = cpu_to_le16(1);
             parm_data->pid = cpu_to_le32(current->tgid);
             parm_data->start = cpu_to_le64(pLockData->fl_start);
-            parm_data->length = len;  /* normalize negative numbers */
+            parm_data->length = cpu_to_le64(len);  /* normalize negative
numbers */

             pSMB->DataOffset = cpu_to_le16(offset);
             pSMB->Fid = smb_file_id;
_

Patches currently in -mm which might be from adobriyan at gmail.com are

fs-compatc-fix-if-a-=-b-typo.patch
gigaset-endian-fix.patch
git-acpi.patch
cifs-endian-fix.patch
git-mtd.patch
x86-dont-trigger-full-rebuild-via-config_mtrr.patch
dont-trigger-full-rebuild-via-config_x86_mce.patch
remove-config_parport_arc-drivers-parport-parport_arcc.patch
two-additions-to-linux-documentation-ioctl-numbertxt.patch
more-bug_on-conversion.patch
reiser4.patch
documentation-ioctl-messtxt-start-tree-wide-ioctl-registry.patch

-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060517/3ade0180/graycol.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic01942.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060517/3ade0180/pic01942.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060517/3ade0180/ecblank.gif


More information about the samba-technical mailing list