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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
Cc: Steven French <sfrench@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 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@xxxxxxxxx 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

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux