summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2ops.c
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2012-09-19 09:19:39 -0700
committerSteve French <smfrench@gmail.com>2012-09-24 21:46:34 -0500
commit12e8a20824677fbc24e921d7aebfda6a47cc25b1 (patch)
treeef2e1e208d6a698d6e9468e3e49762a95d9a9f1f /fs/cifs/smb2ops.c
parentba02e89915afcfc9a071a86e5cae32f77c7d353a (diff)
downloadtalos-obmc-linux-12e8a20824677fbc24e921d7aebfda6a47cc25b1.tar.gz
talos-obmc-linux-12e8a20824677fbc24e921d7aebfda6a47cc25b1.zip
Trivial endian fixes
Some trivial endian fixes for the SMB2 code. One warning remains which I asked Pavel to look at. Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2ops.c')
-rw-r--r--fs/cifs/smb2ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smb2ops.c b/fs/cifs/smb2ops.c
index 630156f98cc7..2183bb343edd 100644
--- a/fs/cifs/smb2ops.c
+++ b/fs/cifs/smb2ops.c
@@ -496,7 +496,7 @@ smb2_is_status_pending(char *buf, struct TCP_Server_Info *server, int length)
{
struct smb2_hdr *hdr = (struct smb2_hdr *)buf;
- if (le32_to_cpu(hdr->Status) != STATUS_PENDING)
+ if (hdr->Status != STATUS_PENDING)
return false;
if (!length) {
OpenPOWER on IntegriCloud