aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2013-07-10 13:50:57 -0400
committerSteve French <smfrench@gmail.com>2013-07-10 14:08:55 -0400
commit1c46943f84f7532a9503810d44b0772581c0325c (patch)
tree9b29e36fdffce0a1b7964f254916bd3833a28385 /fs/cifs
parent9cbc0b7339b0542a1d13922d2745a2636ce44853 (diff)
[CIFS] Fix minor endian error in durable handle patch series
Fix endian warning: CHECK fs/cifs/smb2pdu.c fs/cifs/smb2pdu.c:1068:40: warning: incorrect type in assignment (different base types) fs/cifs/smb2pdu.c:1068:40: expected restricted __le32 [usertype] Next fs/cifs/smb2pdu.c:1068:40: got unsigned long Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/smb2pdu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c
index c7ad06fc9d63..abc9c2809b51 100644
--- a/fs/cifs/smb2pdu.c
+++ b/fs/cifs/smb2pdu.c
@@ -1065,7 +1065,8 @@ SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms, __le16 *path,
1065 if (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_LEASING) { 1065 if (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_LEASING) {
1066 struct create_context *ccontext = 1066 struct create_context *ccontext =
1067 (struct create_context *)iov[num_iovecs-1].iov_base; 1067 (struct create_context *)iov[num_iovecs-1].iov_base;
1068 ccontext->Next = sizeof(struct create_lease); 1068 ccontext->Next =
1069 cpu_to_le32(sizeof(struct create_lease));
1069 } 1070 }
1070 rc = add_durable_context(iov, &num_iovecs, oparms); 1071 rc = add_durable_context(iov, &num_iovecs, oparms);
1071 if (rc) { 1072 if (rc) {