diff options
-rw-r--r-- | fs/cifs/CHANGES | 2 | ||||
-rw-r--r-- | fs/cifs/transport.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES index 289e4079c96b..6bded10c0d50 100644 --- a/fs/cifs/CHANGES +++ b/fs/cifs/CHANGES | |||
@@ -4,7 +4,7 @@ Defer close of a file handle slightly if pending writes depend on that file hand | |||
4 | (this reduces the EBADF bad file handle errors that can be logged under heavy | 4 | (this reduces the EBADF bad file handle errors that can be logged under heavy |
5 | stress on writes). Modify cifs Kconfig options to expose CONFIG_CIFS_STATS2 | 5 | stress on writes). Modify cifs Kconfig options to expose CONFIG_CIFS_STATS2 |
6 | Fix SFU style symlinks and mknod needed for servers which do not support the CIFS | 6 | Fix SFU style symlinks and mknod needed for servers which do not support the CIFS |
7 | Unix Extensions. | 7 | Unix Extensions. Fix setfacl/getfacl on bigendian. |
8 | 8 | ||
9 | Version 1.38 | 9 | Version 1.38 |
10 | ------------ | 10 | ------------ |
diff --git a/fs/cifs/transport.c b/fs/cifs/transport.c index 981ea0d8b9cd..41a9659c16bc 100644 --- a/fs/cifs/transport.c +++ b/fs/cifs/transport.c | |||
@@ -522,7 +522,7 @@ SendReceive2(const unsigned int xid, struct cifsSesInfo *ses, | |||
522 | sizeof (struct smb_hdr) - | 522 | sizeof (struct smb_hdr) - |
523 | 4 /* do not count RFC1001 header */ + | 523 | 4 /* do not count RFC1001 header */ + |
524 | (2 * in_buf->WordCount) + 2 /* bcc */ ) | 524 | (2 * in_buf->WordCount) + 2 /* bcc */ ) |
525 | BCC(in_buf) = le16_to_cpu(BCC(in_buf)); | 525 | BCC(in_buf) = le16_to_cpu(BCC_LE(in_buf)); |
526 | } else { | 526 | } else { |
527 | rc = -EIO; | 527 | rc = -EIO; |
528 | cFYI(1,("Bad MID state?")); | 528 | cFYI(1,("Bad MID state?")); |
@@ -786,7 +786,7 @@ SendReceive(const unsigned int xid, struct cifsSesInfo *ses, | |||
786 | sizeof (struct smb_hdr) - | 786 | sizeof (struct smb_hdr) - |
787 | 4 /* do not count RFC1001 header */ + | 787 | 4 /* do not count RFC1001 header */ + |
788 | (2 * out_buf->WordCount) + 2 /* bcc */ ) | 788 | (2 * out_buf->WordCount) + 2 /* bcc */ ) |
789 | BCC(out_buf) = le16_to_cpu(BCC(out_buf)); | 789 | BCC(out_buf) = le16_to_cpu(BCC_LE(out_buf)); |
790 | } else { | 790 | } else { |
791 | rc = -EIO; | 791 | rc = -EIO; |
792 | cERROR(1,("Bad MID state? ")); | 792 | cERROR(1,("Bad MID state? ")); |